-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
115 lines (115 loc) · 3.06 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
{
"name": "@suin/refractor-flatten",
"version": "1.0.0",
"description": "A utility to transform Refractor ASTs to flat arrays.",
"keywords": [
"refractor",
"refractor-utils"
],
"homepage": "https://github.com/suin/refractor-flatten#readme",
"bugs": {
"url": "https://github.com/suin/refractor-flatten/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/suin/refractor-flatten.git"
},
"license": "MIT",
"author": "suin <[email protected]>",
"main": "index.js",
"types": "index.d.ts",
"files": [
"**/*.{js,ts,map}",
"!*.{test,spec}.*",
"!/types/this.d.ts"
],
"scripts": {
"build": "tsc",
"clean": "git clean -Xdf -e '!/.idea/**' -e '!/node_modules' -e '!/node_modules/**'",
"clean:dry": "git clean -Xdfn -e '!/.idea/**' -e '!/node_modules' -e '!/node_modules/**'",
"format": "pnpm prettier -- --write",
"format:check": "pnpm prettier -- --check",
"pack:preview": "PACKAGE=$(npm pack --ignore-scripts 2> /dev/null) sh -c 'set -eu && tar tf $PACKAGE | sort && rm $PACKAGE'",
"prettier": "prettier '**/*.{ts,tsx,json,json5,css,scss,graphql,gql,md,mdx,html,vue,yaml}'",
"reference": "typedoc --gitRevision \"`git describe --tags --abbrev=0 2>/dev/null || echo main`\" --out reference index.ts",
"reset": "git clean -Xdf -e '!/.idea/**'",
"reset:dry": "git clean -Xdfn -e '!/.idea/**'",
"semantic-release": "semantic-release",
"test": "jest"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,tsx,json,json5,css,scss,graphql,gql,md,mdx,html,vue,yaml}": "prettier --write",
"./package.json": "sort-package-json"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node"
},
"publishConfig": {
"access": "public"
},
"release": {
"branches": [
"main"
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
[
"@semantic-release/npm",
{
"npmPublish": true
}
],
"@semantic-release/github",
[
"@semantic-release/changelog",
{
"changelogFile": "CHANGELOG.md"
}
],
[
"@semantic-release/git",
{
"assets": [
"package.json",
"CHANGELOG.md"
]
}
],
[
"@semantic-release/exec",
{
"successCmd": "pnpm reference"
}
]
]
},
"devDependencies": {
"@semantic-release/changelog": "^5.0.1",
"@semantic-release/exec": "^5.0.0",
"@semantic-release/git": "^9.0.0",
"@types/jest": "^26.0.23",
"@types/refractor": "^3.0.1",
"husky": "^6.0.0",
"jest": "^27.0.3",
"lint-staged": "^11.0.0",
"outdent": "^0.8.0",
"prettier": "^2.3.0",
"refractor": "^3.3.1",
"semantic-release": "^17.4.3",
"sort-package-json": "^1.50.0",
"ts-jest": "^27.0.2",
"typedoc": "^0.20.36",
"typescript": "^4.3.2",
"unist-util-inspect": "^6"
},
"peerDependencies": {
"refractor": "^3.3.1"
}
}