forked from newthuhole/hole_thu_frontend
56 lines
1.4 KiB
JSON
56 lines
1.4 KiB
JSON
{
|
|
"name": "webhole",
|
|
"version": "1.1.0",
|
|
"private": true,
|
|
"dependencies": {
|
|
"copy-to-clipboard": "^3.3.1",
|
|
"fix-orientation": "^1.1.0",
|
|
"gh-pages": "^3.0.0",
|
|
"highlight.js": "^10.1.1",
|
|
"html-to-react": "^1.4.3",
|
|
"load-script": "^1.0.0",
|
|
"markdown-it": "^11.0.0",
|
|
"markdown-it-katex": "^2.0.3",
|
|
"pressure": "^2.1.2",
|
|
"react": "^16.13.1",
|
|
"react-dom": "^16.13.0",
|
|
"react-scripts": "^3.4.1",
|
|
"react-timeago": "^4.4.0",
|
|
"typescript": "^4.0.2",
|
|
"workbox-sw": "^5.1.3"
|
|
},
|
|
"scripts": {
|
|
"start": "react-scripts start",
|
|
"build": "react-scripts build",
|
|
"test": "echo 'skipped react-scripts test --env=jsdom'",
|
|
"predeploy": "",
|
|
"deploy": "gh-pages -b $DEPLOY_BRANCH -d build -m $(TZ=Asia/Shanghai date +\"%y%m%d%H%M%S\")",
|
|
"eject": "react-scripts eject",
|
|
"lint": "eslint --fix src/*.js"
|
|
},
|
|
"homepage": ".",
|
|
"browserslist": {
|
|
"production": [
|
|
">0.2%",
|
|
"not dead",
|
|
"not op_mini all"
|
|
],
|
|
"development": [
|
|
"last 1 chrome version",
|
|
"last 1 firefox version",
|
|
"last 1 safari version"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"eslint": "^6.8.0",
|
|
"eslint-config-prettier": "^6.11.0",
|
|
"eslint-plugin-import": "^2.21.2",
|
|
"eslint-plugin-node": "^11.1.0",
|
|
"eslint-plugin-prettier": "^3.1.3",
|
|
"eslint-plugin-promise": "^4.2.1",
|
|
"eslint-plugin-react": "^7.20.0",
|
|
"eslint-plugin-standard": "^4.0.1",
|
|
"prettier": "^2.0.5"
|
|
}
|
|
}
|