2018-10-20 20:32:02 +08:00
|
|
|
{
|
|
|
|
"name": "yacd",
|
2020-03-01 19:31:41 +08:00
|
|
|
"version": "0.1.9",
|
2018-10-20 20:32:02 +08:00
|
|
|
"description": "Yet another Clash dashboard",
|
|
|
|
"main": "index.js",
|
|
|
|
"scripts": {
|
2019-12-27 16:29:10 +08:00
|
|
|
"lint": "eslint --cache src",
|
2018-10-20 20:32:02 +08:00
|
|
|
"start": "NODE_ENV=development node server.js",
|
2019-01-05 23:03:41 +08:00
|
|
|
"build": "NODE_ENV=production webpack -p --progress",
|
2018-10-20 20:32:02 +08:00
|
|
|
"pretty": "prettier --single-quote --write 'src/**/*.{js,scss}'"
|
|
|
|
},
|
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
2019-12-27 16:29:10 +08:00
|
|
|
"pre-commit": "lint-staged",
|
|
|
|
"pre-push": "yarn lint"
|
2018-10-20 20:32:02 +08:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint-staged": {
|
2019-12-27 16:32:24 +08:00
|
|
|
"*.{js,scss,css,md}": [
|
2020-02-06 16:59:25 +08:00
|
|
|
"prettier --single-quote --write"
|
2019-12-27 16:32:24 +08:00
|
|
|
]
|
2018-10-20 20:32:02 +08:00
|
|
|
},
|
2019-12-27 16:32:24 +08:00
|
|
|
"browserslist": [
|
|
|
|
">0.25%",
|
|
|
|
"not ie 11",
|
|
|
|
"not op_mini all"
|
|
|
|
],
|
|
|
|
"keywords": [
|
|
|
|
"react"
|
|
|
|
],
|
2018-12-29 13:09:42 +08:00
|
|
|
"author": "Haishan <haishanhan@gmail.com> (https://haishan.me)",
|
2018-10-20 20:32:02 +08:00
|
|
|
"private": true,
|
2019-07-06 17:44:25 +08:00
|
|
|
"license": "MIT",
|
2018-10-20 20:32:02 +08:00
|
|
|
"dependencies": {
|
2019-12-17 22:52:50 +08:00
|
|
|
"@babel/runtime": "^7.7.7",
|
2019-01-18 23:51:30 +08:00
|
|
|
"@hsjs/react-cache": "0.0.0-alpha.aa94237",
|
2019-11-17 15:57:14 +08:00
|
|
|
"@sentry/browser": "^5.9.1",
|
2019-10-16 11:03:28 +08:00
|
|
|
"chart.js": "^2.9.2",
|
2018-10-20 20:32:02 +08:00
|
|
|
"classnames": "^2.2.6",
|
2020-01-07 00:39:57 +08:00
|
|
|
"core-js": "^3.6.2",
|
2019-11-17 15:57:14 +08:00
|
|
|
"date-fns": "^2.8.1",
|
2019-12-20 17:45:05 +08:00
|
|
|
"framer-motion": "^1.7.0",
|
2018-10-20 20:32:02 +08:00
|
|
|
"history": "^4.7.2",
|
2019-12-21 17:42:04 +08:00
|
|
|
"immer": "^5.1.0",
|
2019-01-04 00:22:51 +08:00
|
|
|
"invariant": "^2.2.4",
|
2019-07-08 16:11:00 +08:00
|
|
|
"lodash-es": "^4.17.14",
|
2019-08-17 18:42:04 +08:00
|
|
|
"memoize-one": "^5.1.1",
|
2019-12-21 17:42:04 +08:00
|
|
|
"modern-normalize": "^0.6.0",
|
2018-10-20 20:32:02 +08:00
|
|
|
"prop-types": "^15.5.10",
|
2020-01-15 13:07:08 +08:00
|
|
|
"react": "0.0.0-experimental-241c4467e",
|
|
|
|
"react-dom": "0.0.0-experimental-241c4467e",
|
2019-11-08 00:40:48 +08:00
|
|
|
"react-feather": "^2.0.3",
|
2019-10-16 11:03:28 +08:00
|
|
|
"react-modal": "^3.11.1",
|
2020-01-15 13:07:08 +08:00
|
|
|
"react-router": "^6.0.0-alpha.1",
|
|
|
|
"react-router-dom": "^6.0.0-alpha.1",
|
2020-03-01 17:34:05 +08:00
|
|
|
"react-switch": "^5.0.1",
|
2020-01-04 17:16:58 +08:00
|
|
|
"react-table": "7.0.0-rc.15",
|
2020-01-07 00:39:57 +08:00
|
|
|
"react-tabs": "^3.1.0",
|
2020-02-10 22:53:14 +08:00
|
|
|
"react-tiny-fab": "^3.4.0",
|
2019-07-08 16:11:00 +08:00
|
|
|
"react-window": "^1.8.5",
|
2019-03-12 23:48:37 +08:00
|
|
|
"regenerator-runtime": "^0.13.2",
|
2019-05-14 00:30:36 +08:00
|
|
|
"reselect": "^4.0.0"
|
2018-10-20 20:32:02 +08:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2019-12-17 22:52:50 +08:00
|
|
|
"@babel/core": "^7.7.7",
|
2019-11-17 15:57:14 +08:00
|
|
|
"@babel/plugin-proposal-class-properties": "^7.7.4",
|
|
|
|
"@babel/plugin-proposal-do-expressions": "^7.7.4",
|
|
|
|
"@babel/plugin-syntax-dynamic-import": "^7.7.4",
|
|
|
|
"@babel/plugin-transform-runtime": "^7.7.4",
|
2019-12-17 22:52:50 +08:00
|
|
|
"@babel/preset-env": "^7.7.7",
|
2019-12-01 22:41:59 +08:00
|
|
|
"@babel/preset-flow": "^7.7.4",
|
2019-11-17 15:57:14 +08:00
|
|
|
"@babel/preset-react": "^7.7.4",
|
2019-12-20 23:02:10 +08:00
|
|
|
"@hsjs/react-refresh-webpack-plugin": "^0.1.3",
|
2019-11-17 15:57:14 +08:00
|
|
|
"autoprefixer": "^9.7.3",
|
2019-08-17 18:42:04 +08:00
|
|
|
"babel-eslint": "^10.0.3",
|
2019-01-02 23:17:19 +08:00
|
|
|
"babel-loader": "^8.0.5",
|
2019-05-27 23:03:21 +08:00
|
|
|
"clean-webpack-plugin": "^3.0.0",
|
2019-12-17 22:52:50 +08:00
|
|
|
"copy-webpack-plugin": "^5.1.1",
|
2020-01-15 13:07:08 +08:00
|
|
|
"css-loader": "^3.4.2",
|
2018-10-23 17:47:26 +08:00
|
|
|
"cssnano": "^4.1.7",
|
2019-12-21 17:42:04 +08:00
|
|
|
"eslint": "^6.8.0",
|
2019-09-02 23:25:41 +08:00
|
|
|
"eslint-config-react-app": "^5.0.2",
|
2019-12-17 22:52:50 +08:00
|
|
|
"eslint-import-resolver-webpack": "^0.12.0",
|
2020-01-15 13:07:08 +08:00
|
|
|
"eslint-plugin-flowtype": "^4.6.0",
|
2019-06-22 00:10:21 +08:00
|
|
|
"eslint-plugin-import": "^2.18.0",
|
2020-01-15 13:07:08 +08:00
|
|
|
"eslint-plugin-jest": "^23.6.0",
|
2019-06-22 00:10:21 +08:00
|
|
|
"eslint-plugin-jsx-a11y": "^6.2.3",
|
2019-11-17 15:57:14 +08:00
|
|
|
"eslint-plugin-react": "^7.17.0",
|
2019-10-16 11:03:28 +08:00
|
|
|
"eslint-plugin-react-hooks": "^2.2.0",
|
2019-11-17 15:57:14 +08:00
|
|
|
"file-loader": "^5.0.2",
|
2018-10-20 20:32:02 +08:00
|
|
|
"html-webpack-plugin": "^3.2.0",
|
2020-01-07 00:39:57 +08:00
|
|
|
"husky": "^4.0.0",
|
2020-02-06 16:59:25 +08:00
|
|
|
"lint-staged": "^10.0.7",
|
2019-12-21 17:42:04 +08:00
|
|
|
"mini-css-extract-plugin": "^0.9.0",
|
2019-11-17 17:31:59 +08:00
|
|
|
"postcss-custom-media": "^7.0.8",
|
2019-07-28 22:12:17 +08:00
|
|
|
"postcss-extend-rule": "^3.0.0",
|
2019-04-14 22:56:14 +08:00
|
|
|
"postcss-import": "^12.0.1",
|
2018-10-20 20:32:02 +08:00
|
|
|
"postcss-loader": "^3.0.0",
|
2019-10-16 11:03:28 +08:00
|
|
|
"postcss-nested": "^4.2.0",
|
2019-12-27 16:29:10 +08:00
|
|
|
"postcss-simple-vars": "^5.0.2",
|
2019-05-14 00:30:36 +08:00
|
|
|
"prettier": "^1.17.1",
|
2020-01-15 13:07:08 +08:00
|
|
|
"react-refresh": "0.0.0-experimental-241c4467e",
|
2019-12-20 17:45:05 +08:00
|
|
|
"resize-observer-polyfill": "^1.5.1",
|
2019-12-21 17:42:04 +08:00
|
|
|
"style-loader": "^1.1.2",
|
2019-12-17 22:52:50 +08:00
|
|
|
"terser-webpack-plugin": "^2.3.1",
|
2020-03-01 15:31:28 +08:00
|
|
|
"webpack": "^4.41.6",
|
2019-10-16 11:03:28 +08:00
|
|
|
"webpack-bundle-analyzer": "^3.6.0",
|
|
|
|
"webpack-cli": "^3.3.10",
|
2019-09-29 23:38:10 +08:00
|
|
|
"webpack-dev-middleware": "^3.7.2",
|
2018-10-20 20:32:02 +08:00
|
|
|
"webpack-hot-middleware": "^2.22.2"
|
|
|
|
}
|
|
|
|
}
|