-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
54 lines (54 loc) · 1.48 KB
/
package.json
File metadata and controls
54 lines (54 loc) · 1.48 KB
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
{
"name": "chrome-extension-webpack-typescript-react",
"version": "1.0.0",
"main": "index.ts",
"license": "MIT",
"dependencies": {
"@types/chrome": "^0.0.270",
"@types/react": "^18.3.5",
"@types/react-dom": "^18.3.0",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"devDependencies": {
"@eslint/js": "^9.9.1",
"@webpack-cli/generators": "^3.0.7",
"autoprefixer": "^10.4.20",
"babel-loader": "^9.1.3",
"css-loader": "^7.1.2",
"eslint": "^9.9.1",
"eslint-plugin-react": "^7.35.0",
"globals": "^15.9.0",
"gulp": "^5.0.0",
"gulp-minify": "^3.1.0",
"html-webpack-plugin": "^5.6.0",
"husky": "^9.1.5",
"lint-staged": "^15.2.10",
"mini-css-extract-plugin": "^2.9.1",
"postcss": "^8.4.43",
"postcss-loader": "^8.1.1",
"prettier": "^3.3.3",
"style-loader": "^4.0.0",
"ts-loader": "^9.5.1",
"typescript": "^5.5.4",
"typescript-eslint": "^8.3.0",
"webpack": "^5.94.0",
"webpack-cli": "^5.1.4"
},
"description": "Chrome extension - webpack + typescript + react",
"scripts": {
"prebuild": "rm -rf ./dist",
"build": "webpack --mode=production --node-env=production",
"build:dev": "webpack --mode=development",
"build:prod": "webpack --mode=production --node-env=production",
"postbuild": "node copyFiles.mjs",
"watch": "webpack --watch",
"prepare": "husky"
},
"lint-staged": {
"*.{mjs,js,jsx,ts,tsx}": [
"prettier --write",
"eslint --fix"
]
}
}