-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
76 lines (76 loc) · 3.03 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
{
"name": "@schroedernet/commitlint-config",
"version": "1.4.0",
"description": "Opinionated configuration for commitlint",
"main": "dist/index.js",
"repository": {
"type": "git",
"url": "git+https://gitlab.com/schroedernet/commitlint-config.git"
},
"keywords": [
"commitlint",
"commitlint-config"
],
"author": "John Schroeder <john@schroedernet.software>",
"license": "MIT",
"bugs": {
"url": "https://gitlab.com/schroedernet/commitlint-config/issues"
},
"homepage": "https://gitlab.com/schroedernet/commitlint-config#readme",
"private": false,
"devDependencies": {
"@commitlint/cli": "^11.0.0",
"@commitlint/types": "^11.0.0",
"@google/semantic-release-replace-plugin": "^1.0.2",
"@semantic-release/changelog": "^5.0.1",
"@semantic-release/git": "^9.0.0",
"@semantic-release/gitlab": "^6.0.6",
"@tsconfig/node12": "^1.0.7",
"ajv-cli": "^3.3.0",
"conventional-changelog-conventionalcommits": "^4.5.0",
"husky": "^4.3.0",
"jest": "^26.6.3",
"jest-junit": "^12.0.0",
"json5": "^2.1.3",
"npm-run-all": "^4.1.5",
"semantic-release": "^17.3.0",
"ts-jest": "^26.4.4",
"ts-node": "^9.0.0",
"typescript": "^4.1.2"
},
"dependencies": {
"@commitlint/config-conventional": "^11.0.0"
},
"scripts": {
"build": "tsc",
"dev": "jest --notify --watch",
"lint": "run-p lint:*",
"lint:ajv": "run-p lint:ajv:*",
"lint:ajv:commitlintrc": "ajv -s tmp/lint/schemas/commitlintrc.json -d .commitlintrc.yml",
"lint:ajv:gitlab-ci": "ajv -s tmp/lint/schemas/gitlab-ci.json -d .gitlab-ci.yml",
"lint:ajv:package": "ajv -s tmp/lint/schemas/package.json -d package.json",
"lint:ajv:tsconfig": "ajv -s tmp/lint/schemas/tsconfig.json -d tmp/lint/work/tsconfig.json",
"lint:commitlint": "commitlint --from 793f2a0e8c6a200ec0aebfa3c4d71367fc7a77b1",
"lint:tsc": "run-p lint:tsc:*",
"lint:tsc:main": "tsc --noEmit",
"lint:tsc:releaserc": "tsc --allowJs --noEmit --resolveJsonModule .releaserc.js",
"prelint:ajv": "mkdir -p tmp/lint/schemas && mkdir -p tmp/lint/work && rm -rf tmp/lint/work/*",
"prelint:ajv:commitlintrc": "test -f tmp/lint/schemas/commitlintrc.json || wget -O tmp/lint/schemas/commitlintrc.json https://json.schemastore.org/commitlintrc",
"prelint:ajv:gitlab-ci": "test -f tmp/lint/schemas/gitlab-ci.json || wget -O tmp/lint/schemas/gitlab-ci.json https://json.schemastore.org/gitlab-ci",
"prelint:ajv:package": "test -f tmp/lint/schemas/package.json || wget -O tmp/lint/schemas/package.json https://json.schemastore.org/package",
"prelint:ajv:tsconfig": "(test -f tmp/lint/schemas/tsconfig.json || wget -O tmp/lint/schemas/tsconfig.json https://json.schemastore.org/tsconfig) && json5 --out-file tmp/lint/work/tsconfig.json tsconfig.json",
"prepack": "yarn build && echo 'module.exports = config;' >> dist/index.js",
"test": "jest"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"files": [
"/dist/"
],
"publishConfig": {
"access": "public"
}
}