-
Notifications
You must be signed in to change notification settings - Fork 25
/
package.json
53 lines (53 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
{
"version": "1.1.27-alpha.9",
"scripts": {
"release": "release-it prerelease -V --ci",
"doc:dev": "cd doc && npm start",
"doc:build": "cd doc && npm run build",
"build:client": "cd client && npm run build",
"build:serve": "cd release && npx gulp",
"push:doc": "cd release && npx gulp pushDoc",
"push:npm": "cd release && npx gulp npm",
"bit": "npm run build:client && npm run build:serve && npm run install:dist && npm run test:build",
"bit:serve": "npm run build:serve && npm run install:dist && npm run test:build",
"install:dist": "cd dist/package && cross-env NPM_CONFIG_REGISTRY=https://registry.npmmirror.com/ yarn --registry https://registry.npmmirror.com/",
"test": "npm run test:dev",
"test:dev": "cd test && npm run test:dev",
"test:build": "cd test && npm run test:build"
},
"release-it": {
"git": {
"commitMessage": "chore(release): v${version}",
"push": false,
"commit": true,
"tag": true,
"requireCommits": false,
"requireCleanWorkingDir": false
},
"github": {
"release": false,
"draft": false
},
"npm": {
"publish": false,
"ignoreVersion": false
},
"plugins": {
"@release-it/conventional-changelog": {
"preset": "angular",
"infile": "CHANGELOG.md",
"header": "# Changelog"
}
},
"hooks": {
"before:init": "echo before:init",
"before:release": "npm run bit",
"after:release": "echo Successfully released ${name} v${version} to ${repo.repository}."
}
},
"devDependencies": {
"@release-it/conventional-changelog": "4",
"cross-env": "^7.0.3",
"release-it": "14"
}
}