forked from rvagg/cborg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
162 lines (162 loc) · 4.22 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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
{
"name": "cborg",
"version": "1.3.1",
"description": "Fast CBOR with a focus on strictness",
"main": "cborg.js",
"type": "module",
"bin": {
"cborg": "cli.js"
},
"scripts": {
"lint": "standard *.js lib/*.js test/*.js",
"build": "npm run build:js && npm run build:types",
"build:js": "ipjs build --tests --main",
"build:copy": "mkdir -p dist/test && cp test/*.js dist/test/ && cp -a tsconfig.json *.js *.ts lib dist/",
"build:types": "npm run build:copy && cd dist && tsc --build",
"test:cjs": "npm run build && mocha dist/cjs/node-test/test-*.js dist/cjs/node-test/node-test-*.js",
"test:esm": "npm run build && mocha dist/esm/node-test/test-*.js dist/esm/node-test/node-test-*.js",
"test:node": "c8 --check-coverage --branches 100 --functions 100 --lines 100 mocha test/test-*.js test/node-test-*.js",
"test:browser:cjs": "polendina --page --worker --serviceworker --cleanup dist/cjs/browser-test/test-*.js",
"test:browser:esm": "polendina --page --worker --serviceworker --cleanup dist/esm/browser-test/test-*.js",
"test:browser": "npm run test:browser:cjs && npm run test:browser:cjs",
"test": "npm run lint && npm run test:node && npm run test:esm && npm run test:browser:esm",
"test:ci": "npm run lint && npm run test:node && npm run test:cjs && npm run test:esm && npm run test:browser",
"coverage": "c8 --reporter=html mocha test/test-*.js && npx st -d coverage -p 8080"
},
"repository": {
"type": "git",
"url": "https://github.com/rvagg/cborg.git"
},
"keywords": [
"cbor"
],
"author": "Rod <[email protected]> (http://r.va.gg/)",
"license": "Apache-2.0",
"devDependencies": {
"c8": "^8.0.0",
"chai": "^4.3.4",
"ipjs": "^5.2.0",
"ipld-garbage": "^5.0.0",
"mocha": "^10.0.0",
"polendina": "~3.2.1",
"standard": "^17.0.0",
"typescript": "~5.1.5"
},
"exports": {
".": {
"import": "./cborg.js"
},
"./length": {
"import": "./lib/length.js"
},
"./taglib": {
"import": "./taglib.js"
},
"./json": {
"import": "./lib/json/json.js"
}
},
"types": "cborg.d.ts",
"typesVersions": {
"*": {
"json": [
"types/lib/json/json.d.ts"
],
"length": [
"types/lib/length.d.ts"
],
"*": [
"types/*"
],
"types/*": [
"types/*"
]
}
},
"release": {
"branches": [
"master"
],
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "conventionalcommits",
"releaseRules": [
{
"breaking": true,
"release": "major"
},
{
"revert": true,
"release": "patch"
},
{
"type": "feat",
"release": "minor"
},
{
"type": "fix",
"release": "patch"
},
{
"type": "chore",
"release": "patch"
},
{
"type": "docs",
"release": "patch"
},
{
"type": "test",
"release": "patch"
},
{
"scope": "no-release",
"release": false
}
]
}
],
[
"@semantic-release/release-notes-generator",
{
"preset": "conventionalcommits",
"presetConfig": {
"types": [
{
"type": "feat",
"section": "Features"
},
{
"type": "fix",
"section": "Bug Fixes"
},
{
"type": "chore",
"section": "Trivial Changes"
},
{
"type": "docs",
"section": "Trivial Changes"
},
{
"type": "test",
"section": "Tests"
}
]
}
}
],
"@semantic-release/changelog",
[
"@semantic-release/npm",
{
"pkgRoot": "dist"
}
],
"@semantic-release/github",
"@semantic-release/git"
]
}
}