-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
68 lines (68 loc) · 1.96 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
{
"name": "plugin-template",
"version": "1.0.0",
"description": "",
"main": "index.js",
"private": true,
"scripts": {
"prepare": "husky install",
"plugin:new": "ts-node -P ./mini-star/tsconfig.json mini-star/cli/index.ts createPlugin",
"plugin:build": "rm -rf ./dist/plugins && ts-node -P ./mini-star/tsconfig.json mini-star/cli/index.ts buildPlugin all",
"plugin:watch": "rm -rf ./dist/plugins && ts-node -P ./mini-star/tsconfig.json mini-star/cli/index.ts watchPlugin all",
"lint": "eslint './**/*.{ts,tsx}'",
"lint:fix": "eslint --fix './**/*.{ts,tsx}'",
"test": "jest"
},
"keywords": [
"plugin"
],
"author": "moonrailgun",
"license": "MIT",
"lint-staged": {
"src/*.{json,less}": [
"prettier --write --config ./.prettierrc.json"
],
"**/*.js": [
"prettier --write --config ./.prettierrc.json"
],
"**/*.{ts,tsx}": [
"eslint --fix",
"prettier --write --config ./.prettierrc.json"
]
},
"devDependencies": {
"@commitlint/cli": "^12.1.1",
"@commitlint/config-conventional": "^12.1.1",
"@types/inquirer": "^8.2.1",
"@types/jest": "^26.0.23",
"@types/jsdom": "^16.2.10",
"@typescript-eslint/eslint-plugin": "^4.22.0",
"@typescript-eslint/parser": "^4.22.0",
"css-loader": "^5.2.4",
"esbuild-loader": "^2.16.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-react": "^7.23.2",
"glob": "^7.1.6",
"html-webpack-plugin": "^5.3.1",
"husky": "^6.0.0",
"inquirer": "^8.2.2",
"jest": "^26.6.3",
"jsdom": "^16.5.3",
"lint-staged": "^10.5.4",
"prettier": "^2.2.1",
"react": "^17.0.2",
"rollup": "^2.45.1",
"style-loader": "^2.0.0",
"ts-jest": "^26.5.5",
"ts-loader": "^8.1.0",
"ts-node": "^9.1.1",
"typescript": "^4.2.4",
"webpack": "^5.31.2",
"webpack-cli": "^4.6.0",
"webpack-dev-server": "^3.11.2"
},
"dependencies": {
"eslint": "^7.25.0"
}
}