-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
119 lines (119 loc) · 3.12 KB
/
Copy pathpackage.json
File metadata and controls
119 lines (119 loc) · 3.12 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
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
{
"name": "@simular-ai/simulang-js",
"version": "8.1.0",
"description": "Node.js bindings for simulang-rs",
"main": "wrapped.js",
"types": "./wrapped.d.ts",
"exports": {
".": {
"types": "./wrapped.d.ts",
"default": "./wrapped.js"
}
},
"bin": {
"simulang-init-claude": "bin/init-claude.mjs"
},
"repository": {
"type": "git",
"url": "git+https://github.com/simular-ai/simulang-js.git"
},
"license": "MIT",
"keywords": [
"simulang",
"simulang-rs",
"napi-rs",
"NAPI",
"N-API",
"Rust",
"node-addon",
"node-addon-api",
"automation",
"typescript",
"types"
],
"files": [
"index.d.ts",
"index.js",
"wrapped.d.ts",
"wrapped.js",
"CHANGELOG.md",
"CLAUDE.md",
"bin/init-claude.mjs",
"bin/postinstall-hint.mjs",
"examples/*.mjs",
"examples/README.md"
],
"napi": {
"binaryName": "simulang-js",
"targets": [
"x86_64-pc-windows-msvc",
"aarch64-pc-windows-msvc",
"x86_64-apple-darwin",
"aarch64-apple-darwin",
"x86_64-unknown-linux-gnu",
"aarch64-unknown-linux-gnu"
],
"constEnum": false
},
"engines": {
"node": ">= 20"
},
"publishConfig": {
"access": "public"
},
"scripts": {
"artifacts": "napi artifacts",
"bench": "node --import @oxc-node/core/register benchmark/bench.ts",
"build": "napi build --platform --release",
"build:debug": "napi build --platform",
"docs": "typedoc --entryPoints index.d.ts --out docs --readme README.md --name '@simular-ai/simulang-js' --includeVersion",
"docs:mintlify": "typedoc --options typedoc.mintlify.json",
"format": "run-p format:prettier format:rs format:toml",
"format:prettier": "prettier . -w",
"format:toml": "taplo format",
"format:rs": "cargo fmt",
"lint": "oxlint .",
"postinstall": "node bin/postinstall-hint.mjs",
"prepublishOnly": "napi prepublish -t npm $NAPI_PREPUBLISH_FLAGS",
"test": "vitest run",
"typecheck": "tsc --noEmit && tsc --noEmit -p __test__/tsconfig.json && tsc --noEmit -p benchmark/tsconfig.json && tsc --noEmit -p bin/tsconfig.json && tsc --noEmit -p examples/tsconfig.json",
"preversion": "napi build --platform && npm run typecheck && git add .",
"version": "napi version && node scripts/stamp-changelog.mjs",
"prepare": "husky"
},
"devDependencies": {
"@napi-rs/cli": "^3.7.2",
"@oxc-node/core": "^0.1.0",
"@taplo/cli": "^0.7.0",
"@types/node": "^25.9.3",
"husky": "^9.1.7",
"lint-staged": "^17.0.7",
"npm-run-all2": "^9.0.2",
"oxlint": "^1.70.0",
"prettier": "^3.8.4",
"tinybench": "^6.0.0",
"typedoc": "^0.28.19",
"typedoc-plugin-frontmatter": "^1.3.1",
"typedoc-plugin-markdown": "^4.12.0",
"typescript": "^6.0.2",
"vitest": "^4.1.9"
},
"lint-staged": {
"*.@(js|ts|tsx)": [
"oxlint --fix"
],
"*.@(js|ts|tsx|yml|yaml|md|json)": [
"prettier --write"
],
"*.toml": [
"taplo format"
]
},
"prettier": {
"printWidth": 120,
"semi": false,
"trailingComma": "all",
"singleQuote": true,
"arrowParens": "always"
}
}