49 lines
1.5 KiB
JSON
49 lines
1.5 KiB
JSON
{
|
|
"name": "@persea/core",
|
|
"version": "1.0.0",
|
|
"main": "index.js",
|
|
"author": "cha0s",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"build": "NODE_PATH=./node_modules webpack --mode production",
|
|
"clean": "rm -rf yarn.lock node_modules $(node -e \"process.stdout.write(require('./package.json').files.filter((file) => {const parts = file.split('/'); return 1 === parts.length || 'test' !== parts[0];}).join(' '));\") && yarn",
|
|
"forcepub": "npm unpublish --force $(node -e 'const {name, version} = require(`./package.json`); process.stdout.write(`${name}@${version}`)') && npm publish",
|
|
"lint": "NODE_PATH=./node_modules eslint --format codeframe --ext mjs,js .",
|
|
"test": "yarn --silent run build --display none && mocha --colors test.js"
|
|
},
|
|
"files": [
|
|
"index.js",
|
|
"index.js.map",
|
|
"server.js",
|
|
"server.js.map",
|
|
"test.js",
|
|
"test.js.map"
|
|
],
|
|
"dependencies": {
|
|
"@latus/core": "^2.0.0",
|
|
"debug": "4.3.1",
|
|
"glob": "^7.1.6",
|
|
"natsort": "^2.0.2"
|
|
},
|
|
"devDependencies": {
|
|
"@latus/db": "^2.0.0",
|
|
"@latus/redux": "^2.0.0",
|
|
"@neutrinojs/airbnb-base": "^9.4.0",
|
|
"@neutrinojs/copy": "9.4.0",
|
|
"@neutrinojs/mocha": "^9.4.0",
|
|
"@neutrinojs/react": "^9.4.0",
|
|
"chai": "4.2.0",
|
|
"eslint": "^7",
|
|
"eslint-import-resolver-webpack": "0.13.0",
|
|
"mocha": "^8",
|
|
"neutrino": "^9.4.0",
|
|
"source-map-support": "0.5.19",
|
|
"webpack": "^4",
|
|
"webpack-cli": "^3"
|
|
},
|
|
"peerDependencies": {
|
|
"@latus/db": "^2.0.0",
|
|
"@latus/redux": "^2.0.0"
|
|
}
|
|
}
|