-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
81 lines (81 loc) · 2.1 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
75
76
77
78
79
80
81
{
"name": "webpack-starter",
"version": "1.0.1",
"description": "A clean foundational setup for your upcoming frontend project built on webpack.",
"main": "index.js",
"scripts": {
"dev": "webpack-dev-server --open --config webpack.dev.js",
"build": "cross-env NODE_ENV=production webpack --config webpack.prod.js",
"test": "jest",
"lint": "eslint --ext .js src --fix",
"prepare": "husky install"
},
"jest": {
"moduleNameMapper": {
"\\.(css|less|sass|scss)$": "identity-obj-proxy"
},
"transform": {
"^.+\\.jsx?$": "babel-jest"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/timothyguo86/webpack-starter"
},
"keywords": [
"webpack",
"startkit",
"frontend",
"es6",
"javascript",
"webdev"
],
"author": "Timothy Guo",
"license": "MIT",
"bugs": {
"url": "https://github.com/timothyguo86/webpack-starter/issues"
},
"devDependencies": {
"@babel/core": "^7.23.7",
"@babel/preset-env": "^7.23.8",
"autoprefixer": "^10.4.16",
"babel-jest": "^29.7.0",
"babel-loader": "^9.1.3",
"cross-env": "^7.0.3",
"css-loader": "^6.9.0",
"cssnano": "^6.0.3",
"eslint": "^8.56.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-prettier": "^5.1.3",
"eslint-webpack-plugin": "^4.0.1",
"html-webpack-plugin": "^5.6.0",
"husky": "^8.0.3",
"identity-obj-proxy": "^3.0.0",
"jest": "^29.7.0",
"lint-staged": "^15.2.0",
"mini-css-extract-plugin": "^2.7.7",
"postcss-loader": "^7.3.4",
"postcss-nested": "^6.0.1",
"prettier": "^3.2.2",
"sass": "^1.69.7",
"sass-loader": "^13.3.3",
"style-loader": "^3.3.4",
"webpack": "^5.89.0",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^4.15.1",
"webpack-merge": "^5.10.0"
},
"dependencies": {
"lodash": "^4.17.21",
"modern-normalize": "^2.0.0"
},
"lint-staged": {
"./src/js/*.js": [
"prettier --write",
"eslint src/js/*js --fix"
],
"*.js": "eslint --cache --fix"
}
}