-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpackage.json
More file actions
38 lines (38 loc) · 951 Bytes
/
package.json
File metadata and controls
38 lines (38 loc) · 951 Bytes
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
{
"name": "lammps.js",
"version": "1.2.3",
"description": "Run LAMMPS directly in the browser — a WebAssembly build with TypeScript-ready bindings.",
"license": "MIT",
"type": "module",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"default": "./dist/cpp/lammps.js"
},
"./client": {
"types": "./dist/client.d.ts",
"default": "./dist/client.js"
},
"./wasm": "./dist/cpp/lammps.js"
},
"types": "./dist/types/index.d.ts",
"files": [
"dist",
"cpp/build.py",
"README.md",
"LICENSE"
],
"scripts": {
"build:wasm": "python3 cpp/build.py",
"build:dist": "tsc -p tsconfig.build.json",
"build": "npm run build:wasm && npm run build:dist",
"test": "npm run build && vitest run",
"test:watch": "vitest watch"
},
"devDependencies": {
"@types/node": "^20.11.30",
"jsdom": "^24.1.3",
"typescript": "^5.4.0",
"vitest": "^1.5.0"
}
}