-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
66 lines (66 loc) · 1.78 KB
/
package.json
File metadata and controls
66 lines (66 loc) · 1.78 KB
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
{
"name": "@rauschma/helpers",
"version": "1.0.0",
"type": "module",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/rauschma/helpers.git"
},
"author": "Axel Rauschmayer",
"exports": {
"./*": "./dist/src/*"
},
"// files": [
"We can jump to TS source code, thanks to declarationMap:true in tsconfig.json",
"Example:",
"src/event.ts",
"dist/src/event.js",
"dist/src/event.js.map",
"dist/src/event.d.ts",
"dist/src/event.d.ts.map"
],
"files": [
"package.json",
"README.md",
"LICENSE",
"src/**/*.ts",
"dist/**/*.js",
"dist/**/*.js.map",
"dist/**/*.d.ts",
"dist/**/*.d.ts.map",
"!src/**/*_test.ts",
"!dist/**/*_test.js",
"!dist/**/*_test.js.map",
"!dist/**/*_test.d.ts",
"!dist/**/*_test.d.ts.map"
],
"scripts": {
"\n========== Building ==========": "",
"build": "npm run clean && tsc",
"watch": "tsc --watch",
"clean": "shx rm -rf ./dist/*",
"\n========== Testing ==========": "",
"test": "mocha --enable-source-maps --ui qunit",
"testall": "mocha --enable-source-maps --ui qunit \"./dist/**/*_test.js\"",
"\n========== TypeDoc ==========": "",
"api": "shx rm -rf api/ && typedoc --out docs/api --readme none --entryPoints src --entryPointStrategy expand --exclude '**/*_test.ts'",
"\n========== Publishing ==========": "",
"prepublishOnly": "npm run build",
"publishd": "npm publish --dry-run",
"packd": "npm pack --dry-run"
},
"devDependencies": {
"@types/mocha": "^10.0.10",
"@types/node": "^22.13.1",
"mocha": "^11.1.0",
"shx": "^0.3.4",
"typedoc": "^0.27.7"
},
"// devDependencies": {
"@types/node": "For unit tests (node:assert)"
},
"dependencies": {
"asserttt": "^1.0.1"
}
}