-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
62 lines (62 loc) · 1.67 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
{
"name": "nelhu-ts-lib-template",
"version": "1.0.0",
"description": "typescript库模板配置",
"keywords": [],
"main": "dist/bundle.umd.js",
"module": "dist/bundle.esm.js",
"typings": "dist/types/index.d.ts",
"files": [
"dist"
],
"scripts": {
"start": "rollup -c -w",
"build": "rollup -c",
"prettier:check": "yarn prettier --check 'src/**/*.ts'",
"prettier:fix": "yarn prettier --write 'src/**/*.ts'",
"test": "jest --verbose",
"lint": "eslint 'src/**/*.ts'",
"lint:fix": "eslint --fix 'src/**/*.ts'",
"watch": "yarn tsc -w --noEmit"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.ts": "yarn run lint"
},
"repository": {
"type": "git",
"url": "git+https://github.com/nelhu/ts-lib-template.git"
},
"author": "nelson hu2",
"license": "ISC",
"engines": {
"node": ">=6.0.0"
},
"bugs": {
"url": "https://github.com/nelhu/ts-lib-template/issues"
},
"homepage": "https://github.com/nelhu/ts-lib-template#readme",
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^2.24.0",
"@typescript-eslint/parser": "^2.24.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.0",
"eslint-plugin-prettier": "^3.1.2",
"husky": "^4.2.3",
"lint-staged": "8.0.5",
"lodash.camelcase": "^4.3.0",
"prettier": "^1.19.1",
"rollup": "^2.1.0",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-json": "^4.0.0",
"rollup-plugin-node-builtins": "^2.1.2",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-sourcemaps": "^0.5.0",
"rollup-plugin-typescript2": "^0.26.0",
"typescript": "^3.8.3"
}
}