-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
72 lines (72 loc) · 2.31 KB
/
package.json
File metadata and controls
72 lines (72 loc) · 2.31 KB
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
{
"name": "ts-npm-template",
"version": "1.0.0",
"description": "编写TS库,并发布到npm.",
"main": "dist/index.min.js",
"module": "dist/index.min.js",
"types": "dist/types/index.d.ts",
"directories": {
"test": "test"
},
"scripts": {
"build": "rollup -c && yarn build:types",
"prettier": "prettier --write src/*",
"test": "echo \"Error: no test specified\"",
"lint": "eslint",
"type-check": "tsc --noEmit",
"type-check:watch": "yarn type-check -- --watch",
"build:types": "tsc --emitDeclarationOnly",
"commit-msg": "commitlint -e $GIT_PARAMS",
"commit-name": "node .gitauthor.js",
"pre-push": "npx branch-name-lint",
"contributors:add": "all-contributors add",
"contributors:generate": "all-contributors generate"
},
"repository": {
"type": "git",
"url": "git+https://github.com/npm-template/js-npm-template.git"
},
"keywords": [
"js-npm-template",
"npm-template",
"js"
],
"author": "Rabbitzzc",
"license": "MIT",
"bugs": {
"url": "https://github.com/npm-template/js-npm-template/issues"
},
"homepage": "https://github.com/npm-template/js-npm-template#readme",
"engines": {
"node": ">=10.0.0"
},
"files": [
"lib/index.min.js"
],
"devDependencies": {
"@babel/core": "^7.11.6",
"@babel/plugin-proposal-class-properties": "7.10.4",
"@babel/plugin-syntax-dynamic-import": "7.8.3",
"@babel/plugin-transform-runtime": "^7.11.5",
"@babel/preset-env": "7.11.5",
"@babel/preset-typescript": "7.10.4",
"@commitlint/cli": "11.0.0",
"@commitlint/config-conventional": "11.0.0",
"@typescript-eslint/eslint-plugin": "4.1.1",
"@typescript-eslint/parser": "4.1.1",
"all-contributors-cli": "6.17.2",
"branch-name-lint": "^1.4.0",
"eslint": "7.9.0",
"eslint-config-alloy": "3.8.0",
"husky": "^4.2.5",
"prettier": "2.1.1",
"rollup": "^2.26.11",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-delete": "2.0.0",
"rollup-plugin-terser": "^7.0.2",
"typescript": "4.0.2"
},
"dependencies": {
"@babel/runtime-corejs3": "7.11.2"
}
}