-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
115 lines (115 loc) · 2.99 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
{
"name": "npm-rollup-babel-template",
"version": "1.2.0",
"description": "npm发包模板",
"author": "yaoxfly",
"license": "MIT",
"private": false,
"module": "lib/esm/index.js",
"main": "lib/cjs/index.js",
"unpkg": "lib/umd/index.min.js",
"jsdelivr": "lib/umd/index.min.js",
"types": "lib/typings/index.d.ts",
"exports": {
".": {
"import": "./lib/esm/index.js",
"require": "./lib/cjs/index.js",
"types": "./lib/typings/index.d.ts"
}
},
"scripts": {
"dev": "concurrently 'pnpm:watch-*'",
"build": "pnpm run build:types && pnpm run build:lib",
"watch-lib": "node ./node_modules/rollup/dist/bin/rollup -c -w",
"build:lib": "node ./node_modules/rollup/dist/bin/rollup -c",
"test": "echo \"Error: no test specified\" && exit 1",
"prepare": "husky install",
"commit": "git-cz",
"c": "pnpm run commit",
"release": "release-it",
"lint": "eslint . --ext .vue,.js,.ts,.jsx,.tsx --fix"
},
"files": [
"lib"
],
"bin": {},
"engines": {
"node": ">=14.19.0",
"pnpm": ">=7.0.0"
},
"packageManager": "pnpm@7.18.0",
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"config": {
"commitizen": {
"path": "./node_modules/cz-customizable"
},
"cz-customizable": {
"config": "./cz.config.cjs"
}
},
"lint-staged": {
"*.{vue,js,ts,jsx,tsx}": [
"npm run lint"
]
},
"keywords": [
"npm",
"发包",
"模板",
"template",
"rollup",
"husky",
"lint-staged",
"commitlint",
"commitizen"
],
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/yaoxfly/npm-rollup-babel-template.git"
},
"bugs": {
"url": "https://github.com/yaoxfly/npm-rollup-babel-template/issues"
},
"homepage": "https://github.com/yaoxfly/npm-rollup-babel-template#readme",
"devDependencies": {
"@babel/cli": "^7.19.3",
"@babel/core": "^7.20.2",
"@babel/plugin-transform-runtime": "^7.19.6",
"@babel/preset-env": "^7.20.2",
"@babel/preset-typescript": "^7.18.6",
"@commitlint/cli": "^17.3.0",
"@commitlint/config-conventional": "^17.3.0",
"@release-it/conventional-changelog": "^5.1.1",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-commonjs": "^23.0.2",
"@rollup/plugin-json": "^5.0.2",
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-terser": "^0.1.0",
"@types/node": "^18.11.9",
"@typescript-eslint/eslint-plugin": "^5.44.0",
"@typescript-eslint/parser": "^5.44.0",
"commitizen": "^4.2.5",
"commitlint-config-cz": "^0.13.3",
"concurrently": "^7.6.0",
"cz-customizable": "^7.0.0",
"eslint": "^8.28.0",
"husky": "^8.0.2",
"lint-staged": "^13.0.3",
"release-it": "^15.5.0",
"rollup": "^3.4.0",
"rollup-plugin-dts": "^5.0.0",
"rollup-plugin-node-externals": "^5.0.2",
"tslib": "^2.4.1",
"typescript": "^4.9.3"
},
"peerDependencies": {
"@babel/runtime-corejs3": "^7.20.6"
}
}