yacd/package.json
2019-01-05 00:09:55 +08:00

98 lines
3 KiB
JSON

{
"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)",
"private": true,
"license": "UNLICENSED",
"dependencies": {
"@babel/polyfill": "^7.2.3",
"@babel/runtime": "^7.1.5",
"@sentry/browser": "^4.4.2",
"chart.js": "^2.7.3",
"classnames": "^2.2.6",
"history": "^4.7.2",
"invariant": "^2.2.4",
"memoize-one": "^5.0.0",
"modern-normalize": "^0.5.0",
"prop-types": "^15.5.10",
"react": "^16.7.0-alpha.2",
"react-cache": "2.0.0-alpha.1",
"react-dom": "^16.7.0-alpha.0",
"react-modal": "^3.8.1",
"react-router-dom": "4.4.0-beta.4",
"redux": "^4.0.1",
"redux-logger": "^3.0.6",
"redux-thunk": "^2.2.0",
"reselect": "^4.0.0",
"whatwg-fetch": "^3.0.0"
},
"devDependencies": {
"@babel/core": "^7.1.5",
"@babel/plugin-proposal-class-properties": "^7.2.3",
"@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",
"@babel/preset-env": "^7.2.3",
"@babel/preset-react": "^7.0.0",
"autoprefixer": "^9.4.3",
"babel-eslint": "^10.0.1",
"babel-loader": "^8.0.5",
"css-loader": "^2.0.1",
"cssnano": "^4.1.7",
"eslint": "^5.7.0",
"eslint-import-resolver-webpack": "^0.10.1",
"eslint-plugin-import": "2.14.0",
"eslint-plugin-jest": "^22.0.0",
"eslint-plugin-react": "7.11.1",
"eslint-plugin-react-hooks": "^0.0.0",
"file-loader": "^3.0.0",
"html-webpack-plugin": "^3.2.0",
"husky": "^1.3.0",
"lint-staged": "^8.0.2",
"mini-css-extract-plugin": "^0.5.0",
"node-sass": "^4.10.0",
"npm-run-all": "^4.1.5",
"postcss-loader": "^3.0.0",
"prettier": "^1.15.1",
"react-hot-loader": "^4.6.3",
"sass-loader": "^7.0.1",
"style-loader": "^0.23.0",
"svg-sprite-loader": "^4.1.2",
"terser-webpack-plugin": "^1.1.0",
"webpack": "^4.28.0",
"webpack-bundle-analyzer": "^3.0.3",
"webpack-cli": "3.1.2",
"webpack-dev-middleware": "3.4.0",
"webpack-hot-middleware": "^2.22.2"
}
}