forked from fjc0k/vtils
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
128 lines (128 loc) · 3.44 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
128
{
"name": "vtils",
"version": "2.10.0",
"description": "小巧实用的 JavaScript 工具类库。",
"main": "lib/index.js",
"module": "lib/index.esm.js",
"unpkg": "lib/index.umd.js",
"jsdelivr": "lib/index.umd.js",
"types": "lib/index.d.ts",
"homepage": "https://github.com/fjc0k/vtils",
"license": "MIT",
"sideEffects": false,
"repository": {
"type": "git",
"url": "[email protected]:fjc0k/vtils.git"
},
"bugs": {
"url": "https://github.com/fjc0k/vtils/issues"
},
"keywords": [
"javascript",
"typescript",
"utils"
],
"files": [
"lib"
],
"author": {
"name": "Jay Fong",
"email": "[email protected]",
"url": "https://github.com/fjc0k"
},
"scripts": {
"docs:build": "yarn ts-node --compiler-options '{\"module\":\"commonjs\"}' --files scripts/buildDocs.ts",
"lib:lint": "eslint --fix --ext .ts src/ scripts/",
"lib:test": "jest",
"lib:cov": "jest --coverage",
"lib:build": "yarn ts-node --compiler-options '{\"module\":\"commonjs\"}' --files scripts/buildLib.ts",
"publish:git": "git push --follow-tags origin master",
"publish:docs": "gh-pages -d .typedoc",
"publish:npm:latest": "npm publish",
"publish:npm:next": "npm publish --tag=next",
"release:major:beta": "standard-version -a --no-verify --prerelease beta --release-as major && npm run publish:npm:next",
"release:major:latest": "standard-version -a --no-verify --release-as major && npm run publish:npm:latest",
"release:beta": "standard-version -a --no-verify --prerelease beta && npm run publish:npm:next",
"release:latest": "standard-version -a --no-verify && npm run publish:npm:latest",
"prepublishOnly": "yarn lib:build && yarn publish:docs && yarn publish:git"
},
"standard-version": {
"scripts": {
"postbump": "yarn docs:build && git add README.md"
}
},
"eslintConfig": {
"root": true,
"extends": "io"
},
"eslintIgnore": [
"lib",
"node_modules",
"__snapshots__"
],
"commitlint": {
"extends": [
"io"
]
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint --fix",
"git add"
]
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged"
}
},
"jest": {
"transform": {
"^.+\\.ts$": "ts-jest"
},
"collectCoverageFrom": [
"src/**/*.ts",
"!src/**/index.ts"
],
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"moduleFileExtensions": [
"ts",
"js",
"json"
]
},
"devDependencies": {
"@commitlint/cli": "^7.6.1",
"@tarojs/taro-h5": "^1.2.26",
"@types/fs-extra": "^7.0.0",
"@types/globby": "^9.1.0",
"@types/jest": "^24.0.13",
"@types/qs": "^6.5.3",
"@types/shelljs": "^0.8.5",
"@types/sinon": "^5.0.5",
"bili": "^4.8.0",
"codecov": "^3.1.0",
"commitlint-config-io": "^0.3.0",
"eslint": "^5.9.0",
"eslint-config-io": "^0.5.0",
"fs-extra": "^8.0.1",
"gh-pages": "^2.0.1",
"globby": "^9.2.0",
"husky": "^2.3.0",
"jest": "^24.8.0",
"lint-staged": "^8.1.7",
"moment": "^2.22.2",
"nervjs": "^1.3.13",
"qs": "^6.7.0",
"rollup-plugin-replace": "^2.2.0",
"rollup-plugin-typescript2": "^0.21.1",
"shelljs": "^0.8.3",
"standard-version": "^4.4.0",
"ts-jest": "^24.0.2",
"ts-node": "^8.0.2",
"typed-we-app": "^1.7.0-update.6",
"typedoc": "^0.15.0-0",
"typescript": "^3.4.5"
}
}