-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
74 lines (74 loc) · 2.25 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
{
"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": "npm run development -- --watch",
"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 --no-progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
"watchtest": "./node_modules/.bin/jest --coverage --watch",
"lint": "eslint --ext .js,.vue resources/js/components resources/js/tests",
"test": "./node_modules/.bin/jest",
"format": "prettier --write \"resources/**/*.js\" \"resources/**/*.vue\" \"*.js\" \"*.json\""
},
"devDependencies": {
"@babel/cli": "^7.5.5",
"@babel/preset-env": "^7.5.5",
"@vue/cli-plugin-eslint": "^3.11.0",
"@vue/test-utils": "^1.0.0-beta.29",
"axios": "^0.18",
"axios-mock-adapter": "^1.17.0",
"babel-core": "^7.0.0-bridge.0",
"bootstrap": "^4.1.0",
"bootstrap-vue": "^2.0.0-rc.28",
"cross-env": "^5.1",
"eslint": "^5.16.0",
"eslint-config-prettier": "^6.1.0",
"eslint-plugin-prettier": "^3.1.0",
"eslint-plugin-vue": "^5.2.3",
"husky": "^3.0.4",
"jest": "^24.9.0",
"jquery": "^3.2",
"laravel-mix": "^4.0.7",
"lint-staged": "^9.2.5",
"lodash": "^4.17.5",
"popper.js": "^1.12",
"prettier": "^1.18.2",
"resolve-url-loader": "^2.3.1",
"sass": "^1.15.2",
"sass-loader": "^7.1.0",
"vue": "^2.5.17",
"vue-jest": "^3.0.4",
"vue-router": "^3.1.3",
"vue-template-compiler": "^2.6.10"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"vue"
],
"modulePaths": [
"<rootDir>/resources/js/tests/*.test.js"
],
"transform": {
".*\\.(vue)$": "vue-jest",
"^.+\\.js$": "<rootDir>/node_modules/babel-jest"
}
},
"lint-staged": {
"resources/**/*.{js,json,css,vue}": [
"prettier --write",
"eslint --fix",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "npm run format & npm test",
"pre-push": "npm test"
}
}
}