yacd/package.json

98 lines
3 KiB
JSON
Raw Normal View History

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": "Haishan <haishanhan@gmail.com> (https://haishan.me)",
2018-10-20 20:32:02 +08:00
"private": true,
"license": "UNLICENSED",
"dependencies": {
2018-12-20 23:24:41 +08:00
"@babel/polyfill": "^7.2.3",
"@babel/runtime": "^7.1.5",
2018-12-23 21:42:42 +08:00
"@sentry/browser": "^4.4.2",
2018-10-20 20:32:02 +08:00
"chart.js": "^2.7.3",
"classnames": "^2.2.6",
"history": "^4.7.2",
2018-12-18 21:26:08 +08:00
"memoize-one": "^5.0.0",
2018-10-20 20:32:02 +08:00
"modern-normalize": "^0.5.0",
"prop-types": "^15.5.10",
2018-11-15 22:35:13 +08:00
"react": "^16.7.0-alpha.2",
2018-11-03 23:18:10 +08:00
"react-cache": "2.0.0-alpha.1",
2018-10-30 15:16:42 +08:00
"react-dom": "^16.7.0-alpha.0",
2018-12-20 23:24:41 +08:00
"react-modal": "^3.8.1",
2018-10-23 23:35:11 +08:00
"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": {
2018-11-08 22:40:58 +08:00
"@babel/core": "^7.1.5",
2018-12-20 23:24:41 +08:00
"@babel/plugin-proposal-class-properties": "^7.2.3",
2018-10-20 20:32:02 +08:00
"@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/plugin-transform-runtime": "^7.1.0",
2018-12-20 23:24:41 +08:00
"@babel/preset-env": "^7.2.3",
2018-10-20 20:32:02 +08:00
"@babel/preset-react": "^7.0.0",
2018-12-18 21:26:08 +08:00
"autoprefixer": "^9.4.3",
2018-10-20 20:32:02 +08:00
"babel-eslint": "^10.0.1",
2019-01-02 23:17:19 +08:00
"babel-loader": "^8.0.5",
2018-12-18 21:26:08 +08:00
"css-loader": "^2.0.1",
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-11-08 22:40:58 +08:00
"eslint-plugin-jest": "^22.0.0",
2018-10-20 20:32:02 +08:00
"eslint-plugin-react": "7.11.1",
"eslint-plugin-react-hooks": "^0.0.0",
2018-12-20 23:24:41 +08:00
"file-loader": "^3.0.0",
2018-10-20 20:32:02 +08:00
"html-webpack-plugin": "^3.2.0",
2018-12-20 23:24:41 +08:00
"husky": "^1.3.0",
2018-10-29 23:42:15 +08:00
"lint-staged": "^8.0.2",
2018-12-18 21:26:08 +08:00
"mini-css-extract-plugin": "^0.5.0",
2018-11-08 22:40:58 +08:00
"node-sass": "^4.10.0",
2018-11-30 19:27:13 +08:00
"npm-run-all": "^4.1.5",
2018-10-20 20:32:02 +08:00
"postcss-loader": "^3.0.0",
2018-11-08 22:40:58 +08:00
"prettier": "^1.15.1",
2018-12-20 23:24:41 +08:00
"react-hot-loader": "^4.6.3",
2018-10-20 20:32:02 +08:00
"sass-loader": "^7.0.1",
"style-loader": "^0.23.0",
"svg-sprite-loader": "^4.1.2",
"terser-webpack-plugin": "^1.1.0",
2018-12-20 23:24:41 +08:00
"webpack": "^4.28.0",
2018-10-20 20:32:02 +08:00
"webpack-bundle-analyzer": "^3.0.3",
2019-01-02 23:17:19 +08:00
"webpack-cli": "3.1.2",
2018-10-20 20:32:02 +08:00
"webpack-dev-middleware": "3.4.0",
"webpack-hot-middleware": "^2.22.2"
}
}