2018-10-20 20:32:02 +08:00
|
|
|
{
|
|
|
|
"name": "yacd",
|
|
|
|
"version": "0.0.1",
|
|
|
|
"description": "Yet another Clash dashboard",
|
|
|
|
"main": "index.js",
|
|
|
|
"scripts": {
|
|
|
|
"lint": "eslint src",
|
|
|
|
"dll": "webpack --config webpack.dll.config.js",
|
|
|
|
"start": "NODE_ENV=development node server.js",
|
|
|
|
"clean": "rm -rf public && mkdir public",
|
|
|
|
"build:webpack": "NODE_ENV=production webpack --config webpack.config.js --progress --colors",
|
|
|
|
"build:assets": "cp -r assets/* public/",
|
|
|
|
"build": "npm-run-all clean build:webpack build:assets",
|
|
|
|
"pretty": "prettier --single-quote --write 'src/**/*.{js,scss}'"
|
|
|
|
},
|
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
|
|
|
"pre-commit": "lint-staged"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint-staged": {
|
|
|
|
"*.{js,scss}": [
|
|
|
|
"prettier --single-quote --write",
|
|
|
|
"git add"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"keywords": [
|
|
|
|
"react"
|
|
|
|
],
|
|
|
|
"author": "Han Haishan <haishanhan@gmail.com> (htttp://haishan.me)",
|
|
|
|
"private": true,
|
|
|
|
"license": "UNLICENSED",
|
|
|
|
"dependencies": {
|
|
|
|
"@babel/polyfill": "^7.0.0",
|
|
|
|
"chart.js": "^2.7.3",
|
|
|
|
"chat.js": "^1.0.2",
|
|
|
|
"classnames": "^2.2.6",
|
|
|
|
"history": "^4.7.2",
|
2018-10-26 01:02:59 +08:00
|
|
|
"memoize-one": "^4.0.2",
|
2018-10-20 20:32:02 +08:00
|
|
|
"modern-normalize": "^0.5.0",
|
|
|
|
"prop-types": "^15.5.10",
|
2018-10-24 16:17:35 +08:00
|
|
|
"react": "^16.6.0",
|
|
|
|
"react-dom": "^16.6.0",
|
2018-10-20 20:32:02 +08:00
|
|
|
"react-modal": "^3.6.1",
|
2018-10-23 23:35:11 +08:00
|
|
|
"react-redux": "^6.0.0-alpha.2a2f108",
|
|
|
|
"react-router-dom": "4.4.0-beta.4",
|
2018-10-20 20:32:02 +08:00
|
|
|
"redux": "^4.0.1",
|
|
|
|
"redux-logger": "^3.0.6",
|
|
|
|
"redux-thunk": "^2.2.0",
|
2018-10-21 19:59:38 +08:00
|
|
|
"reselect": "^4.0.0",
|
2018-10-20 20:32:02 +08:00
|
|
|
"whatwg-fetch": "^3.0.0"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@babel/core": "^7.1.2",
|
|
|
|
"@babel/plugin-proposal-class-properties": "^7.0.0",
|
|
|
|
"@babel/plugin-proposal-do-expressions": "^7.0.0",
|
|
|
|
"@babel/plugin-proposal-export-default-from": "^7.0.0",
|
|
|
|
"@babel/plugin-proposal-export-namespace-from": "^7.0.0",
|
|
|
|
"@babel/plugin-proposal-json-strings": "^7.0.0",
|
|
|
|
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
|
|
|
|
"@babel/plugin-syntax-import-meta": "^7.0.0",
|
|
|
|
"@babel/preset-env": "^7.1.0",
|
|
|
|
"@babel/preset-react": "^7.0.0",
|
2018-10-25 18:32:40 +08:00
|
|
|
"autoprefixer": "9.3.1",
|
2018-10-20 20:32:02 +08:00
|
|
|
"babel-eslint": "^10.0.1",
|
|
|
|
"babel-loader": "^8.0.4",
|
|
|
|
"css-loader": "^1.0.0",
|
2018-10-23 17:47:26 +08:00
|
|
|
"cssnano": "^4.1.7",
|
2018-10-20 20:32:02 +08:00
|
|
|
"eslint": "^5.7.0",
|
2018-10-22 11:38:28 +08:00
|
|
|
"eslint-import-resolver-webpack": "^0.10.1",
|
2018-10-20 20:32:02 +08:00
|
|
|
"eslint-plugin-import": "2.14.0",
|
2018-10-25 18:32:40 +08:00
|
|
|
"eslint-plugin-jest": "^21.26.1",
|
2018-10-20 20:32:02 +08:00
|
|
|
"eslint-plugin-react": "7.11.1",
|
|
|
|
"file-loader": "^2.0.0",
|
|
|
|
"html-webpack-plugin": "^3.2.0",
|
|
|
|
"husky": "^1.0.1",
|
2018-10-29 23:42:15 +08:00
|
|
|
"lint-staged": "^8.0.2",
|
2018-10-20 20:32:02 +08:00
|
|
|
"mini-css-extract-plugin": "^0.4.3",
|
|
|
|
"node-sass": "^4.9.4",
|
|
|
|
"npm-run-all": "^4.1.3",
|
|
|
|
"postcss-loader": "^3.0.0",
|
|
|
|
"prettier": "^1.14.3",
|
|
|
|
"react-hot-loader": "^4.2.0",
|
|
|
|
"sass-loader": "^7.0.1",
|
|
|
|
"style-loader": "^0.23.0",
|
|
|
|
"svg-sprite-loader": "^4.1.2",
|
|
|
|
"uglifyjs-webpack-plugin": "^2.0.1",
|
2018-10-25 18:32:40 +08:00
|
|
|
"webpack": "4.23.1",
|
2018-10-20 20:32:02 +08:00
|
|
|
"webpack-bundle-analyzer": "^3.0.3",
|
|
|
|
"webpack-cli": "^3.1.2",
|
|
|
|
"webpack-dev-middleware": "3.4.0",
|
|
|
|
"webpack-hot-middleware": "^2.22.2"
|
|
|
|
}
|
|
|
|
}
|