dflzm
Version:
x
137 lines (136 loc) • 4.33 kB
JSON
{
"name": "dflzm",
"version": "0.4.0",
"description": "x",
"main": "bin",
"bin": {
"x": "index.js"
},
"scripts": {
"install": "sudo npm i -g pm2 nodemon commitizen",
"cz": "git-cz",
"precommit": "lint-staged",
"commitmsg": "commitlint -e $GIT_PARAMS",
"release": "standard-version",
"clean": "rimraf ./asset",
"wds": "npm-run-all clean build:react start:wds",
"dev": "npm-run-all start:dev",
"prod": "npm-run-all build start:prod",
"start:wds": "cross-env NODE_ENV=wds nodemon --config ./config/nodemon.js bin",
"start:wds:pm2": "cross-env NODE_ENV=wds pm2 start ./config/pm2.wds.json",
"start:dev": "cross-env NODE_ENV=development nodemon --config ./config/nodemon.js bin",
"start:dev:pm2": "cross-env NODE_ENV=development pm2 start ./config/pm2.dev.json",
"start:prod": "cross-env NODE_ENV=production pm2 start ./config/pm2.prod.json",
"build": "npm-run-all clean build:react build:pro",
"build:react": "webpack --config build/react.config.js",
"build:pro": "cross-env NODE_ENV=production webpack --config build/webpack.config.js",
"lint": "eslint -c .eslintrc.js bin config server library mock",
"docker": "docker run -idt --name x -v /Volumes/m/m/x/x:/x -p 3040:3040 node:8.11.3 bash",
"mock": "cross-env NODE_ENV=test mocha mock/**/*.spec.js --exit -t 60s",
"mock:nyc": "cross-env NODE_ENV=test nyc mocha mock/**/*.spec.js --exit -t 60s",
"mock:watch": "cross-env NODE_ENV=test mocha --watch mock/**/*.spec.js --exit"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"standard-version": {
"skip": {
"commit": true,
"tag": true
}
},
"lint-staged": {
"*.js": [
"prettier --trailing-comma es5 --single-quote --write",
"git add"
]
},
"repository": {
"type": "git",
"url": "ssh://git@172.16.250.144:20173/z/x.git"
},
"keywords": [
"x"
],
"author": "z",
"license": "ISC",
"dependencies": {
"app-root-path": "^2.1.0",
"fs": "^0.0.1-security",
"isomorphic-fetch": "^2.2.1",
"kcors": "^2.2.2",
"koa": "^2.6.1",
"koa-bodyparser": "^4.2.1",
"koa-morgan": "^1.0.1",
"koa-onerror": "^4.1.0",
"koa-router": "^7.4.0",
"koa-session": "^5.10.0",
"koa-static": "^5.0.0",
"koa-webpack": "^5.1.1",
"morgan": "^1.9.1",
"mysql2": "^1.6.4",
"path": "^0.12.7",
"prop-types": "^15.6.2",
"react": "^16.6.3",
"react-dom": "^16.6.3",
"react-hot-loader": "^4.3.12",
"react-redux": "^5.1.1",
"react-router": "^4.3.1",
"react-router-dom": "^4.3.1",
"redux": "^4.0.1",
"redux-thunk": "^2.3.0",
"sequelize": "^4.41.2",
"stack-trace": "0.0.10",
"webpack": "^4.25.1",
"winston": "^3.1.0",
"winston-daily-rotate-file": "^3.4.0"
},
"devDependencies": {
"@babel/core": "^7.2.0",
"@babel/preset-env": "^7.2.0",
"@babel/preset-react": "^7.0.0",
"babel-eslint": "^10.0.1",
"babel-loader": "^8.0.4",
"chai": "^4.2.0",
"commitizen": "^3.0.5",
"commitlint": "^7.2.1",
"cross-env": "^5.2.0",
"css-hot-loader": "^1.4.2",
"css-loader": "^1.0.1",
"cssnano": "^4.1.7",
"cz-conventional-changelog": "^2.1.0",
"eslint": "^5.9.0",
"eslint-config-airbnb": "^17.1.0",
"eslint-friendly-formatter": "^4.0.1",
"eslint-loader": "^2.1.1",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jsx-a11y": "^6.1.2",
"eslint-plugin-react": "^7.11.1",
"file-loader": "^2.0.0",
"json-loader": "^0.5.7",
"less-loader": "^4.1.0",
"lint-staged": "^8.1.0",
"mini-css-extract-plugin": "^0.4.5",
"mocha": "^5.2.0",
"node-sass": "^4.10.0",
"nodemon": "^1.18.7",
"npm-run-all": "^4.1.3",
"optimize-css-assets-webpack-plugin": "^5.0.1",
"rimraf": "^2.6.2",
"sass-loader": "^7.1.0",
"standard-version": "^4.4.0",
"stylelint": "^9.9.0",
"stylelint-config-airbnb": "0.0.0",
"stylelint-config-recess-order": "^2.0.0",
"stylelint-csstree-validator": "^1.3.0",
"stylelint-order": "^2.0.0",
"stylelint-scss": "^3.4.0",
"stylelint-webpack-plugin": "^0.10.5",
"supertest": "^3.3.0",
"uglifyjs-webpack-plugin": "^2.0.1",
"url-loader": "^1.1.2",
"webpack-cli": "^3.1.2"
}
}