This repository has been archived by the owner on Dec 21, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
60 lines (60 loc) · 2.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
{
"name": "@bytedance-ad/business-plugin-helper",
"version": "2.1.0",
"files": [
"output",
"test-jsons"
],
"bin": {
"gen-external-data": "./output/tester.js"
},
"author": "qiucheng ([email protected])",
"main": "output/index.js",
"license": "MIT",
"scripts": {
"build": "tsc -d",
"start": "npm run build && node output/tester.js",
"test": "npm run build && jest",
"normal": "yarn start -f test-jsons/test.json -key 123 -d",
"gen-outdated-string": "yarn start -f test-jsons/test.json -key 123 -d -o",
"missing-version": "yarn start -f test-jsons/missing-version.json -key 123 -d",
"release": "yarn build && standard-version && yarn update-npm-and-git",
"release-patch": "yarn build && standard-version --release-as patch && yarn update-npm-and-git",
"release-minor": "yarn build && standard-version --release-as minor && yarn update-npm-and-git",
"release-major": "yarn build && standard-version --release-as major && yarn update-npm-and-git",
"release-alpha": "yarn build && standard-version --prerelease alpha --skip.changelog --skip.commit && yarn update-npm",
"update-npm": "yarn publish",
"lint": "echo linting not enabled for the time being",
"update-npm-and-git": "git push --follow-tags origin master && yarn update-npm",
"prerel": "yarn lint && standard-version --dry-run",
"prerel-alpha": "yarn prerel --prerelease alpha",
"prerel-patch": "yarn lint && yarn prerel -- --release-as patch",
"prerel-minor": "yarn lint && yarn prerel -- --release-as minor",
"prerel-major": "yarn lint && yarn prerel -- --release-as major"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "yarn lint"
}
},
"dependencies": {
"chalk": "^4.1.1"
},
"devDependencies": {
"@babel/core": "^7.14.3",
"@babel/preset-env": "^7.14.2",
"@babel/preset-typescript": "^7.13.0",
"@commitlint/cli": "^12.1.4",
"@commitlint/config-conventional": "^12.1.4",
"@types/jest": "^26.0.23",
"babel-jest": "^27.0.1",
"commander": "^7.2.0",
"commitlint": "^12.1.4",
"husky": "4.2.5",
"jest": "^27.0.1",
"shallow-equal": "^1.2.1",
"standard-version": "^9.3.0",
"typescript": "^4.3.2"
}
}