Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
70 lines (70 loc) · 1.86 KB
/
Copy pathpackage.json
File metadata and controls
70 lines (70 loc) · 1.86 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
{
"name": "bravais",
"version": "0.1.2",
"description": "Crystal structure viewer: reads CIFs, applies their symmetry, repeats boundary sites, finds bonds with VESTA's cutoffs and renders with three.js.",
"license": "MIT",
"author": "Jiacheng Wang",
"repository": {
"type": "git",
"url": "git+https://github.com/jcwang587/bravais.git"
},
"homepage": "https://jcwang.dev/bravais/",
"bugs": {
"url": "https://github.com/jcwang587/bravais/issues"
},
"keywords": [
"crystal",
"crystallography",
"cif",
"crystal-structure",
"viewer",
"three.js",
"webgl",
"space-group",
"materials-science"
],
"type": "module",
"main": "./dist/bravais.js",
"types": "./dist/types/index.d.ts",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/bravais.js",
"default": "./dist/bravais.js"
}
},
"files": [
"dist",
"CHANGELOG.md",
"THIRD_PARTY_NOTICES.md"
],
"scripts": {
"demo": "vite --config vite.demo.config.ts --open",
"build": "vite build && tsc -p tsconfig.build.json",
"build:site": "vite build --config vite.demo.config.ts",
"dev": "vite build --watch",
"test": "vitest run",
"check": "tsc -p tsconfig.json && prettier --check .",
"check:package": "publint --strict && attw --pack . --profile esm-only",
"format": "prettier --write .",
"prepublishOnly": "npm run check && npm test && npm run build && npm run check:package"
},
"peerDependencies": {
"three": ">=0.186.0"
},
"devDependencies": {
"@arethetypeswrong/cli": "0.18.5",
"@spglib/moyo-wasm": "^0.21.0",
"@types/node": "^26.6.5",
"@types/three": "^0.186.0",
"prettier": "3.9.10",
"publint": "0.3.25",
"three": "^0.186.1",
"typescript": "^7.0.2",
"vite": "^8.3.4",
"vitest": "^5.0.4"
},
"engines": {
"node": ">=22"
}
}