forked from kevintyj/prlint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
70 lines (70 loc) · 2.15 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
{
"name": "@kevintyj/prlint",
"version": "1.2.0",
"type": "module",
"private": false,
"author": "Kevin Taeyoon Jin <hello@kevintyj.com>",
"license": "BSD-3-Clause",
"homepage": "https://github.com/kevintyj/prlint#readme",
"repository": "github:kevintyj/prlint",
"bugs": {
"url": "https://github.com/kevintyj/prlint/issues"
},
"keywords": [
"changesets",
"conventional",
"github"
],
"publishConfig": {
"provenance": true
},
"exports": {
"default": "./dist/index.js"
},
"main": "lib/index.js",
"types": "lib/types/index.d.ts",
"scripts": {
"prepare": "husky install",
"watch": "tsup --watch",
"json:pre": "json -I -f package.json -e 'this.type = \"commonjs\"'",
"json:post": "json -I -f package.json -e 'this.type = \"module\"' && echo '{\"type\": \"commonjs\"}' > dist/package.json",
"prebuild": "pnpm run clean:build && pnpm run json:pre",
"build": "pnpm run test:coverage && pnpm run prebuild && tsc --project tsconfig.build.json && ncc build lib/index.js -o dist && pnpm run postbuild",
"postbuild": "pnpm run json:post",
"test": "vitest",
"test:coverage": "vitest run --coverage.enabled --coverage.reporter='json' ",
"lint:es": "eslint .",
"clean:build": "rimraf lib dist",
"clean:git": "git clean -fdX",
"ci": "pnpm run lint:es && vitest run && pnpm run build",
"release": "pnpm run ci && changeset publish"
},
"dependencies": {
"@actions/core": "^1.10.1",
"@actions/github": "^6.0.0",
"@commitlint/config-conventional": "^18.1.0",
"@commitlint/lint": "^18.1.0",
"@commitlint/load": "^18.2.0"
},
"devDependencies": {
"@antfu/eslint-config": "^2.1.0",
"@changesets/changelog-github": "^0.4.8",
"@changesets/cli": "^2.26.2",
"@commitlint/cli": "^18.4.3",
"@commitlint/types": "^18.1.0",
"@types/node": "^20.9.0",
"@vercel/ncc": "^0.38.1",
"@vitest/coverage-v8": "^0.34.6",
"eslint": "^8.54.0",
"husky": "^8.0.3",
"json": "^11.0.0",
"lint-staged": "^15.1.0",
"rimraf": "^5.0.5",
"tsup": "^7.2.0",
"typescript": "^5.2.2",
"vitest": "^0.34.6"
},
"lint-staged": {
"*": "eslint --fix"
}
}