-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
79 lines (79 loc) · 1.67 KB
/
package.json
File metadata and controls
79 lines (79 loc) · 1.67 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
67
68
69
70
71
72
73
74
75
76
77
78
79
{
"name": "crumbjs",
"version": "2.0.0",
"main": "lib/cjs/index.js",
"author": {
"name": "Péter Viola",
"email": "info@violapeter.hu",
"url": "https://violapeter.hu"
},
"license": "MIT",
"scripts": {
"test": "jest --watchAll",
"build": "tsc -p .buildconfig/tsconfig.mjs.json && tsc -p .buildconfig/tsconfig.cjs.json && .buildconfig/fixup",
"build:cli": "tsc --project .buildconfig/tsconfig.cli.json",
"start": "node ./lib/cli/src/cli/index.js",
"dev": "ts-node ./src/cli/index.ts",
"package": "pkg . --out-path=bin",
"type-check": "tsc -p .buildconfig/tsconfig.json --noEmit"
},
"bin": {
"crumb": "lib/cli/src/cli/index.js"
},
"devDependencies": {
"@types/jest": "^30.0.0",
"jest": "^30.2.0",
"pkg": "^5.8.1",
"prettier": "^3.5.3",
"ts-jest": "^29.3.2",
"ts-node": "^10.9.2"
},
"dependencies": {
"commander": "^14.0.2",
"typescript": "^5.8.3"
},
"module": "lib/mjs/index.js",
"exports": {
".": {
"import": "./lib/mjs/index.js",
"require": "./lib/cjs/index.js"
}
},
"types": "./types.d.ts",
"files": [
"lib",
"src",
"index.ts",
"types.d.ts"
],
"pkg": {
"targets": [
"node18-linux-x64",
"node18-macos-x64",
"node18-win-x64"
],
"outputPath": "bin"
},
"jest": {
"transform": {
"^.+\\.ts$": [
"ts-jest",
{
"tsconfig": ".buildconfig/tsconfig.json"
}
]
},
"testMatch": [
"**/__tests__/*.spec.ts"
],
"moduleFileExtensions": [
"js",
"ts"
]
},
"prettier": {
"singleQuote": true,
"trailingComma": "all",
"semi": false
}
}