-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
66 lines (66 loc) · 2.82 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
{
"name": "@bn3t/ssin-lib",
"version": "0.0.12",
"description": "Library and CLI for Belgian SSIN generation and validation",
"author": "Bernard Niset",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/bn3t/ssin-lib"
},
"homepage": "https://github.com/bn3t/ssin-lib",
"type": "module",
"main": "./dist/lib/index.js",
"module": "./dist/lib/index.js",
"types": "./dist/lib/index.d.ts",
"exports": {
".": {
"types": "./dist/lib/index.d.ts",
"import": "./dist/lib/index.js",
"require": "./dist/lib/index.cjs"
}
},
"bin": {
"ssin": "dist/ssin-cli.js"
},
"files": [
"dist"
],
"scripts": {
"build": "npm run lint && npm run build:check && npm run build:js",
"build:check": "tsc --noEmit",
"build:js": "tsup-node --entry src/lib/index.ts --entry src/ssin-cli.ts --format cjs,esm --dts --sourcemap",
"build:native": "npm run build:native-linux-x64 && npm run build:native-darwin-x64 && npm run build:native-darwin-arm64 && npm run build:native-windows-x64",
"build:compress": "npm run build:compress-linux-x64 && npm run build:compress-darwin-x64 && npm run build:compress-darwin-arm64 && npm run build:compress-windows-x64",
"build:compress-darwin-arm64": "cd dist-native && tar cfz ssin-darwin-arm64.tar.gz ssin-darwin-arm64",
"build:compress-darwin-x64": "cd dist-native && tar cfz ssin-darwin-x64.tar.gz ssin-darwin-x64",
"build:compress-linux-x64": "cd dist-native && tar cfz ssin-linux-x64.tar.gz ssin-linux-x64",
"build:compress-windows-x64": "zip -j dist-native/ssin-windows-x64.zip dist-native/ssin-windows-x64.exe",
"build:native-darwin-x64": "bun build src/ssin-cli.ts --compile --target=bun-darwin-x64-modern --outfile dist-native/ssin-darwin-x64",
"build:native-darwin-arm64": "bun build src/ssin-cli.ts --compile --target=bun-darwin-arm64 --outfile dist-native/ssin-darwin-arm64",
"build:native-linux-x64": "bun build src/ssin-cli.ts --compile --target=bun-linux-x64-modern --outfile dist-native/ssin-linux-x64",
"build:native-windows-x64": "bun build src/ssin-cli.ts --compile --target=bun-windows-x64-modern --outfile dist-native/ssin-windows-x64",
"build:native-and-compress": "npm run build:native && npm run build:compress",
"clean": "rimraf dist dist-native node_modules",
"start": "bun ./src/ssin-cli.ts",
"test": "vitest",
"lint": "eslint"
},
"devDependencies": {
"@types/node": "^22.7.5",
"@typescript-eslint/eslint-plugin": "^8.8.1",
"@typescript-eslint/parser": "^8.8.1",
"@vitest/coverage-v8": "^2.1.2",
"eslint": "^9.12.0",
"nodemon": "^3.1.7",
"rimraf": "^6.0.1",
"ts-node": "^10.9.2",
"tsup": "^8.3.0",
"typescript": "^5.6.3",
"vite-tsconfig-paths": "^5.0.1",
"vitest": "^2.1.2"
},
"dependencies": {
"commander": "^12.1.0"
}
}