84 lines
2.7 KiB
JSON
84 lines
2.7 KiB
JSON
{
|
|
"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",
|
|
"production": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
|
|
"eslint": "eslint --ext .js,.ts,.tsx resources/",
|
|
"stylelint": "stylelint resources/assets/sass/**/*",
|
|
"doc": "redoc-cli bundle -o public/apidoc.html openapi.yaml"
|
|
},
|
|
"devDependencies": {
|
|
"@types/bootstrap": "^4.5.0",
|
|
"@types/cal-heatmap": "^3.3.10",
|
|
"@types/chart.js": "^2.9.24",
|
|
"@types/classnames": "^2.2.10",
|
|
"@types/clipboard": "^2.0.1",
|
|
"@types/jquery": "^3.3.38",
|
|
"@types/js-cookie": "^2.2.0",
|
|
"@types/qs": "^6.9.4",
|
|
"@types/react": "^16.9.35",
|
|
"@types/react-dom": "^16.9.8",
|
|
"@typescript-eslint/eslint-plugin": "^3.1.0",
|
|
"@typescript-eslint/parser": "^3.9.1",
|
|
"bootstrap": "^4.5.0",
|
|
"cal-heatmap": "^3.3.10",
|
|
"chart.js": "^2.7.1",
|
|
"classnames": "^2.2.6",
|
|
"clipboard": "^2.0.6",
|
|
"cross-env": "^5.2.0",
|
|
"date-fns": "^2.15.0",
|
|
"eslint": "^7.6.0",
|
|
"eslint-config-prettier": "^6.11.0",
|
|
"eslint-plugin-jquery": "^1.5.1",
|
|
"eslint-plugin-prettier": "^3.1.4",
|
|
"eslint-plugin-react": "^7.20.6",
|
|
"husky": "^1.3.1",
|
|
"jquery": "^3.5.0",
|
|
"js-cookie": "^2.2.0",
|
|
"laravel-mix": "^4.0.0",
|
|
"laravel-mix-bundle-analyzer": "^1.0.2",
|
|
"lint-staged": "^8.1.5",
|
|
"open-iconic": "^1.1.1",
|
|
"popper.js": "^1.14.7",
|
|
"prettier": "^2.0.5",
|
|
"redoc-cli": "^0.9.8",
|
|
"qs": "^6.9.4",
|
|
"react": "^16.13.1",
|
|
"react-dom": "^16.13.1",
|
|
"resolve-url-loader": "^3.1.1",
|
|
"sass": "^1.26.8",
|
|
"sass-loader": "^7.1.0",
|
|
"stylelint": "^13.6.1",
|
|
"stylelint-config-recess-order": "^2.1.0",
|
|
"ts-loader": "^6.0.1",
|
|
"typescript": "^3.4.5"
|
|
},
|
|
"stylelint": {
|
|
"extends": "stylelint-config-recess-order"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.{css,scss}": [
|
|
"stylelint --fix",
|
|
"git add"
|
|
],
|
|
"*.{ts,tsx,js}": [
|
|
"eslint --fix",
|
|
"git add"
|
|
],
|
|
"*.php": [
|
|
"composer fix",
|
|
"git add"
|
|
]
|
|
}
|
|
}
|