2017-08-27 04:44:53 +09:00
|
|
|
{
|
|
|
|
"private": true,
|
|
|
|
"scripts": {
|
|
|
|
"dev": "npm run development",
|
|
|
|
"development": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
|
|
|
|
"watch": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --watch --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
|
|
|
|
"watch-poll": "npm run watch -- --watch-poll",
|
|
|
|
"hot": "cross-env NODE_ENV=development node_modules/webpack-dev-server/bin/webpack-dev-server.js --inline --hot --config=node_modules/laravel-mix/setup/webpack.config.js",
|
|
|
|
"prod": "npm run production",
|
2019-03-10 18:22:16 +09:00
|
|
|
"production": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
|
2020-08-17 16:19:14 +09:00
|
|
|
"eslint": "eslint --ext .js,.ts,.tsx resources/",
|
2020-07-21 23:18:39 +09:00
|
|
|
"stylelint": "stylelint resources/assets/sass/**/*",
|
2020-11-13 23:39:42 +09:00
|
|
|
"doc": "redoc-cli bundle -o public/apidoc.html openapi.yaml",
|
|
|
|
"heroku-postbuild": "npm run production && npm run doc"
|
2017-08-27 04:44:53 +09:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2020-06-06 16:14:11 +09:00
|
|
|
"@types/bootstrap": "^4.5.0",
|
|
|
|
"@types/cal-heatmap": "^3.3.10",
|
2020-08-23 11:17:30 +09:00
|
|
|
"@types/chart.js": "^2.9.24",
|
2020-08-17 16:02:39 +09:00
|
|
|
"@types/classnames": "^2.2.10",
|
2020-07-23 22:26:34 +09:00
|
|
|
"@types/clipboard": "^2.0.1",
|
2020-06-02 23:08:03 +09:00
|
|
|
"@types/jquery": "^3.3.38",
|
2020-06-06 16:14:11 +09:00
|
|
|
"@types/js-cookie": "^2.2.0",
|
2020-08-06 02:26:51 +09:00
|
|
|
"@types/qs": "^6.9.4",
|
2020-08-17 16:02:39 +09:00
|
|
|
"@types/react": "^16.9.35",
|
|
|
|
"@types/react-dom": "^16.9.8",
|
2020-06-06 17:37:01 +09:00
|
|
|
"@typescript-eslint/eslint-plugin": "^3.1.0",
|
2020-08-23 13:45:04 +09:00
|
|
|
"@typescript-eslint/parser": "^3.9.1",
|
2020-06-02 23:48:12 +09:00
|
|
|
"bootstrap": "^4.5.0",
|
2019-02-17 01:18:36 +09:00
|
|
|
"cal-heatmap": "^3.3.10",
|
|
|
|
"chart.js": "^2.7.1",
|
2020-08-17 16:02:39 +09:00
|
|
|
"classnames": "^2.2.6",
|
2020-07-23 22:26:34 +09:00
|
|
|
"clipboard": "^2.0.6",
|
2019-02-17 01:18:36 +09:00
|
|
|
"cross-env": "^5.2.0",
|
2020-08-19 23:53:18 +09:00
|
|
|
"date-fns": "^2.15.0",
|
2020-08-06 23:24:53 +09:00
|
|
|
"eslint": "^7.6.0",
|
2020-06-06 17:37:01 +09:00
|
|
|
"eslint-config-prettier": "^6.11.0",
|
2020-08-06 09:08:37 +09:00
|
|
|
"eslint-plugin-jquery": "^1.5.1",
|
2020-07-14 23:03:45 +09:00
|
|
|
"eslint-plugin-prettier": "^3.1.4",
|
2020-08-17 16:19:14 +09:00
|
|
|
"eslint-plugin-react": "^7.20.6",
|
2019-03-10 19:37:41 +09:00
|
|
|
"husky": "^1.3.1",
|
2020-04-30 10:40:50 +09:00
|
|
|
"jquery": "^3.5.0",
|
2019-02-17 01:18:36 +09:00
|
|
|
"js-cookie": "^2.2.0",
|
2019-02-17 01:13:49 +09:00
|
|
|
"laravel-mix": "^4.0.0",
|
2019-03-08 06:52:29 +09:00
|
|
|
"laravel-mix-bundle-analyzer": "^1.0.2",
|
2019-03-10 19:37:41 +09:00
|
|
|
"lint-staged": "^8.1.5",
|
2019-02-17 01:18:36 +09:00
|
|
|
"open-iconic": "^1.1.1",
|
|
|
|
"popper.js": "^1.14.7",
|
2020-06-06 17:37:01 +09:00
|
|
|
"prettier": "^2.0.5",
|
2020-07-21 23:18:39 +09:00
|
|
|
"redoc-cli": "^0.9.8",
|
2020-08-06 02:26:51 +09:00
|
|
|
"qs": "^6.9.4",
|
2020-08-17 16:02:39 +09:00
|
|
|
"react": "^16.13.1",
|
|
|
|
"react-dom": "^16.13.1",
|
2020-06-07 17:40:16 +09:00
|
|
|
"resolve-url-loader": "^3.1.1",
|
2020-06-07 17:17:02 +09:00
|
|
|
"sass": "^1.26.8",
|
2019-02-17 01:18:36 +09:00
|
|
|
"sass-loader": "^7.1.0",
|
2020-08-23 10:27:31 +09:00
|
|
|
"stylelint": "^13.6.1",
|
2020-08-23 10:37:15 +09:00
|
|
|
"stylelint-config-recess-order": "^2.1.0",
|
2019-05-24 01:08:47 +09:00
|
|
|
"ts-loader": "^6.0.1",
|
2020-08-17 16:11:31 +09:00
|
|
|
"typescript": "^3.4.5"
|
2019-03-10 18:21:15 +09:00
|
|
|
},
|
|
|
|
"stylelint": {
|
|
|
|
"extends": "stylelint-config-recess-order"
|
2019-03-10 19:37:41 +09:00
|
|
|
},
|
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
|
|
|
"pre-commit": "lint-staged"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint-staged": {
|
2019-05-24 00:33:48 +09:00
|
|
|
"*.{css,scss}": [
|
|
|
|
"stylelint --fix",
|
|
|
|
"git add"
|
2019-06-15 07:50:37 +09:00
|
|
|
],
|
2020-08-17 20:06:07 +09:00
|
|
|
"*.{ts,tsx,js}": [
|
2020-06-06 17:37:01 +09:00
|
|
|
"eslint --fix",
|
|
|
|
"git add"
|
|
|
|
],
|
2019-06-15 07:50:37 +09:00
|
|
|
"*.php": [
|
|
|
|
"composer fix",
|
|
|
|
"git add"
|
2019-05-24 00:33:48 +09:00
|
|
|
]
|
2017-08-27 04:44:53 +09:00
|
|
|
}
|
|
|
|
}
|