/
package.json
105 lines (105 loc) · 3.01 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
{
"name": "umi-plugin-extensions",
"version": "1.0.1",
"description": "a umi plugin to build chrome extensions",
"homepage": "https://github.com/arvinxx/umi-plugin-extensions#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/arvinxx/umi-plugin-extensions.git"
},
"main": "lib/index.js",
"types": "types/index.d.ts",
"files": [
"lib",
"types"
],
"scripts": {
"start": "npm run build && npm run example:dev",
"dev": "father dev",
"build": "father build",
"---------": "",
"test": "jest",
"test:coverage": "jest --coverage",
"test:update": "jest --updateSnapshot",
"--------- ": "",
"prepublishOnly": "pnpm run build",
"release": "semantic-release",
"--------- ": "",
"example:dev": "cross-env APP_ROOT=example umi dev",
"example:build": "cross-env APP_ROOT=example umi build",
"--------- ": "",
"docs": "cross-env pnpm run api:build && npm run start --prefix=document",
"docs:build": "cross-env pnpm run api:build && npm run build --prefix=document",
"--------- ": "",
"api:build": "pnpm run api:clean && typedoc",
"api:clean": "rm -rf document/docs/api",
"--------- ": "",
"clean": "rm -rf es lib example/dist document/dist example/.umi*/ document/.umi*/ coverage .eslintcache",
"lint": "max lint",
"tsc": "tsc -p tsconfig-check.json",
"lint-staged": "lint-staged",
"prettier": "prettier -c --write \"**/**\"",
"prepare": "husky install"
},
"lint-staged": {
"*.ts?(x)": [
"prettier --parser=typescript --write",
"git add"
],
"*.{js,jsx,less,md,json}": [
"prettier --write",
"git add"
]
},
"dependencies": {
"fs-extra": "^10",
"generate-json-webpack-plugin": "^2",
"got": "^11",
"webpack": "^5"
},
"devDependencies": {
"@commitlint/cli": "^12",
"@testing-library/react": "^13",
"@types/fs-extra": "^9",
"@types/generate-json-webpack-plugin": "^0.3.2",
"@types/jest": "^29",
"@types/lodash": "^4",
"@types/node": "^18",
"@types/react": "^18",
"@types/react-dom": "^18",
"@types/testing-library__jest-dom": "^5",
"@umijs/max": "^4",
"@umijs/test": "^4",
"commitlint-config-gitmoji": "^2",
"concurrently": "^6",
"conventional-changelog-gitmoji-config": "^1",
"cross-env": "^7",
"eslint": "^8",
"father": "^4",
"husky": "^8",
"jest": "^29",
"jest-environment-jsdom": "^29",
"lint-staged": "^10",
"prettier": "^2.7.1",
"react": "^18",
"react-dom": "^18",
"semantic-release": "^19",
"semantic-release-config-gitmoji": "^1",
"ts-jest": "^29",
"ts-node": "^10",
"typedoc": "^0.23",
"typedoc-plugin-external-module-map": "^1",
"typedoc-plugin-markdown": "^3",
"typescript": "^4",
"umi": "^4",
"@testing-library/jest-dom": "^5"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"authors": {
"name": "Arvin Xu",
"email": "arvinx@foxmail.com"
}
}