-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
67 lines (67 loc) · 2.42 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
{
"name": "@kevintyj/prlint",
"version": "2.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"
},
"scripts": {
"prepare": "husky install",
"watch": "tsup --watch",
"json:ts:pre": "npx ncp 'tsconfig.json' 'tsconfig.build-temp.json' && json -I -f tsconfig.build.json -e 'this.extends = \"./tsconfig.build-temp.json\"' && npx ncp 'tsconfig.build.json' 'tsconfig.json'",
"prebuild": "pnpm run clean:build && pnpm run json:ts:pre",
"build:ncc": "ncc build src/index.ts -o dist --target es2022 -s -e '@commitlint/load' -e '@commitlint/config-conventional'",
"build": "pnpm run test:coverage && pnpm run prebuild && pnpm run build:ncc && pnpm run postbuild",
"postbuild": "pnpm run json:ts:post && rimraf 'tsconfig.build-temp.json' && cd dist && npm i --omit=dev --legacy-peer-deps @commitlint/load@^19.2.0",
"json:ts:post": "json -I -f tsconfig.build.json -e 'this.extends = \"./tsconfig.json\"' && npx ncp 'tsconfig.build-temp.json' 'tsconfig.json'",
"test": "vitest",
"test:coverage": "vitest run --coverage.enabled --coverage.reporter='json' ",
"lint:es": "eslint .",
"lint:ci": "eslint src && eslint __tests__",
"clean:build": "rimraf dist",
"clean:git": "git clean -fdX",
"ci": "pnpm run lint:ci && pnpm run build",
"release": "pnpm run ci && changeset publish"
},
"dependencies": {
"@actions/core": "^1.10.1",
"@actions/github": "^6.0.0",
"@commitlint/config-conventional": "^19.2.2",
"@commitlint/lint": "^19.2.2",
"@commitlint/load": "^19.2.0"
},
"devDependencies": {
"@antfu/eslint-config": "^2.21.1",
"@changesets/changelog-github": "^0.4.8",
"@changesets/cli": "^2.26.2",
"@commitlint/cli": "^19.3.0",
"@commitlint/types": "^19.0.3",
"@types/node": "^20.14.8",
"@vercel/ncc": "^0.38.1",
"@vitest/coverage-v8": "^0.34.6",
"eslint": "^8.57.0",
"husky": "^8.0.3",
"json": "^11.0.0",
"lint-staged": "^15.2.7",
"rimraf": "^5.0.7",
"tsup": "^8.1.0",
"typescript": "^5.5.2",
"vitest": "^1.6.0"
}
}