-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
61 lines (61 loc) · 1.32 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
{
"name": "webpack-plugin-jscc",
"version": "0.0.3",
"license": "ISC",
"author": "duanlikang",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"dev": "tsc --watch",
"build": "tsc",
"pretest": "tsc",
"test": "yarn lint && jest --env node",
"release": "npm run build && node ./scripts/release.js",
"lint": "prettier --write --parser typescript \"{src,test}/**/*.ts\""
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"gitHooks": {
"pre-commit": "lint-staged"
},
"lint-staged": {
"*.js": [
"prettier --write",
"git add"
],
"*.ts": [
"prettier --parser=typescript --write",
"git add"
]
},
"dependencies": {
"anymatch": "^3.1.1",
"jscc": "^1.1.1",
"loader-utils": "^2.0.0"
},
"devDependencies": {
"@types/jest": "^25.2.1",
"@types/loader-utils": "^2.0.1",
"enquirer": "^2.3.6",
"inquirer": "^8.0.0",
"jest": "^25.5.4",
"lint-staged": "^9.5.0",
"prettier": "^2.2.1",
"ts-jest": "^25.5.1",
"typescript": "^3.7.3",
"webpack": "^5.27.2"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"testPathIgnorePatterns": [
"<rootDir>/dist/",
"<rootDir>/node_modules/"
]
}
}