-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
127 lines (127 loc) · 4.43 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
{
"name": "eslint-config-nstarter",
"version": "4.0.1",
"description": "nstarter ESLint 规则",
"keywords": [
"eslint",
"eslintrc",
"eslintconfig",
"config",
"alloy",
"alloyteam",
"javascript",
"styleguide",
"typescript"
],
"homepage": "https://jiandaoyun.github.io/nstarter-eslint-config/",
"bugs": {
"url": "https://github.com/jiandaoyun/nstarter-eslint-config/issues"
},
"license": "MIT",
"publishConfig": {
"access": "public"
},
"main": "index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/jiandaoyun/nstarter-eslint-config.git"
},
"scripts": {
"start": "npm run dev",
"dev": "run-p dev:*",
"dev:eslintrc": "nodemon",
"dev:copyfiles": "npm run build:copyfiles && chokidar \"site/public/**/*\" -c \"npm run build:copyfiles\"",
"dev:webpack-dev-server": "webpack serve --open",
"build": "run-s build:*",
"build:eslintrc": "ts-node scripts/build.ts",
"build:clean": "rimraf ./dist",
"build:copyfiles": "copyfiles -u 2 \"site/public/**/*\" dist/public",
"build:site": "webpack",
"test": "npm run lint && ts-node ./test/index.ts",
"lint": "run-s eslint prettier",
"eslint": "eslint --ext .js,.jsx,.ts,.tsx,.vue --ignore-pattern \"bad.*\" .",
"prettier": "prettier -l \"./**/*\"",
"prettier:fix": "prettier --write -l \"./**/*\"",
"prepare": "husky install",
"update": "npm install --save-dev @babel/eslint-parser@latest eslint-plugin-import@latest @types/cookie@latest @types/doctrine@latest @types/eslint@latest @types/node@latest @types/prettier@latest @types/react@latest @types/react-dom@latest @types/rimraf@latest @types/xml-escape@latest @typescript-eslint/eslint-plugin@latest @typescript-eslint/parser@latest chokidar-cli@latest cookie@latest copyfiles@latest doctrine@latest eslint@7 eslint-config-prettier@latest eslint-plugin-react@latest html-webpack-plugin@latest husky@latest insert-tag@latest mobi-plugin-color@latest mobi.css@latest nodemon@latest npm-run-all@latest prettier@latest react@latest react-dom@latest react-tooltip@latest rimraf@latest ts-loader@latest ts-node@latest typescript@latest webpack@latest webpack-cli@latest webpack-dev-server@latest xml-escape@latest ",
"rulesCoverage": "ts-node ./scripts/rulesCoverage.ts"
},
"lint-staged": {
"package.json": "sort-package-json"
},
"dependencies": {
"@babel/core": "^7.22.9",
"@babel/eslint-parser": "^7.22.9",
"@typescript-eslint/eslint-plugin": "^7.17.0",
"@typescript-eslint/parser": "^7.17.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-node": "^11.1.0"
},
"devDependencies": {
"@babel/core": "^7.22.9",
"@babel/eslint-parser": "^7.22.9",
"@babel/preset-react": "^7.22.5",
"@types/cookie": "^0.5.1",
"@types/doctrine": "^0.0.5",
"@types/eslint": "^8.44.1",
"@types/node": "^20.4.5",
"@types/prettier": "^2.7.3",
"@types/react": "^18.2.16",
"@types/react-dom": "^18.2.7",
"@types/xml-escape": "^1.1.1",
"@typescript-eslint/eslint-plugin": "^7.17.0",
"@typescript-eslint/parser": "^7.17.0",
"chokidar-cli": "^3.0.0",
"cookie": "^0.5.0",
"copyfiles": "^2.4.1",
"doctrine": "^3.0.0",
"eslint": "^8.45.0",
"eslint-config-prettier": "^8.9.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-node": "^11.1.0",
"html-webpack-plugin": "^5.5.3",
"husky": "^8.0.3",
"insert-tag": "^0.1.2",
"lint-staged": "^13.2.3",
"mobi-plugin-color": "^1.0.0",
"mobi.css": "^3.1.1",
"nodemon": "^3.0.1",
"npm-run-all": "^4.1.5",
"prettier": "^3.0.0",
"querystring": "^0.2.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-tooltip": "4.5.1",
"rimraf": "^5.0.1",
"sort-package-json": "^2.5.1",
"ts-loader": "^9.4.4",
"ts-node": "^10.9.1",
"typescript": "^5.4.5",
"url": "^0.11.1",
"webpack": "^5.88.2",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^4.15.1",
"xml-escape": "^1.1.0"
},
"peerDependencies": {
"@babel/eslint-parser": "7.x",
"@typescript-eslint/eslint-plugin": ">=5.55.0",
"@typescript-eslint/parser": ">=5.0.0",
"eslint": ">=8.24.0",
"typescript": "5.x"
},
"peerDependenciesMeta": {
"@babel/eslint-parser": {
"optional": true
},
"@typescript-eslint/eslint-plugin": {
"optional": true
},
"@typescript-eslint/parser": {
"optional": true
},
"typescript": {
"optional": true
}
}
}