-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
84 lines (84 loc) · 2.39 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
{
"name": "@sufangyu/fe-utils",
"version": "1.0.0",
"description": "front end utils",
"main": "lib/index.umd.js",
"module": "lib/index.esm.js",
"typings": "types/index.d.ts",
"scripts": {
"dev": "cross-env NODE_ENV=development rollup -w -c",
"build": "cross-env NODE_ENV=production rollup -c",
"test": "jest --coverage",
"test:dev": "jest --watchAll",
"lint:fix": "./node_modules/.bin/eslint --ext .ts,.tsx src/ --fix",
"build:docs": "typedoc",
"docs": "serve ./docs",
"commit": "git-cz",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
"release-f": "standard-version -f",
"release-major": "standard-version -r major",
"release-minor": "standard-version -r minor",
"release-patch": "standard-version -r patch"
},
"author": "",
"license": "ISC",
"keywords": [
"tools",
"JavaScript",
"library",
"TypeScript"
],
"devDependencies": {
"@babel/core": "^7.10.5",
"@babel/plugin-transform-modules-commonjs": "^7.10.4",
"@babel/preset-env": "^7.10.4",
"@babel/preset-typescript": "^7.10.4",
"@commitlint/cli": "^9.1.1",
"@commitlint/config-conventional": "^9.1.1",
"@types/jest": "^26.0.7",
"@typescript-eslint/eslint-plugin": "^3.7.1",
"@typescript-eslint/parser": "^3.7.1",
"babel-jest": "^26.1.0",
"commitizen": "^4.1.2",
"conventional-changelog": "^3.1.21",
"conventional-changelog-cli": "^2.0.34",
"cross-env": "^7.0.2",
"cz-conventional-changelog": "^3.2.0",
"cz-customizable": "^6.2.1",
"husky": "^4.2.5",
"jest": "^26.1.0",
"lint-staged": "^10.2.11",
"rollup": "^2.23.0",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-cleaner": "^1.0.0",
"rollup-plugin-eslint": "^7.0.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-terser": "^6.1.0",
"rollup-plugin-typescript2": "^0.27.1",
"standard-changelog": "^2.0.24",
"standard-version": "^8.0.2",
"ts-jest": "^26.1.4",
"typedoc": "^0.17.8",
"typedoc-plugin-external-module-name": "^4.0.3",
"typescript": "^3.9.7"
},
"config": {
"commitizen": {
"path": "node_modules/cz-customizable"
}
},
"gitHooks": {
"pre-commit": "lint-staged"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"src/**/*.{ts}": [
"npm run lint:fix",
"git add"
]
}
}