megane-viewer 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +169 -0
- package/dist/widget.js +28456 -0
- package/package.json +58 -0
package/package.json
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "megane-viewer",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"description": "A fast, beautiful molecular viewer – anywidget-compatible",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "https://github.com/hodakamori/megane.git"
|
|
10
|
+
},
|
|
11
|
+
"keywords": ["molecular", "viewer", "pdb", "threejs", "chemistry", "anywidget", "jupyter"],
|
|
12
|
+
"main": "./dist/widget.js",
|
|
13
|
+
"module": "./dist/widget.js",
|
|
14
|
+
"exports": {
|
|
15
|
+
".": {
|
|
16
|
+
"import": "./dist/widget.js"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"files": [
|
|
20
|
+
"dist/",
|
|
21
|
+
"LICENSE",
|
|
22
|
+
"README.md"
|
|
23
|
+
],
|
|
24
|
+
"scripts": {
|
|
25
|
+
"dev": "vite",
|
|
26
|
+
"build:wasm": "cd crates/megane-wasm && wasm-pack build --target web --release",
|
|
27
|
+
"build": "npm run build:wasm && tsc && vite build && vite build --config vite.widget.config.ts",
|
|
28
|
+
"build:app": "npm run build:wasm && tsc && vite build",
|
|
29
|
+
"build:widget": "vite build --config vite.widget.config.ts",
|
|
30
|
+
"build:lib": "npm run build:wasm && vite build --config vite.widget.config.ts --outDir dist",
|
|
31
|
+
"preview": "vite preview",
|
|
32
|
+
"test": "vitest run",
|
|
33
|
+
"test:watch": "vitest",
|
|
34
|
+
"test:e2e": "node tests/e2e/snapshot.test.mjs",
|
|
35
|
+
"test:all": "vitest run && node tests/e2e/snapshot.test.mjs"
|
|
36
|
+
},
|
|
37
|
+
"dependencies": {
|
|
38
|
+
"puppeteer": "^24.37.5",
|
|
39
|
+
"react": "^19.0.0",
|
|
40
|
+
"react-dom": "^19.0.0",
|
|
41
|
+
"three": "^0.172.0"
|
|
42
|
+
},
|
|
43
|
+
"devDependencies": {
|
|
44
|
+
"@testing-library/jest-dom": "^6.0.0",
|
|
45
|
+
"@testing-library/react": "^16.0.0",
|
|
46
|
+
"@types/react": "^19.0.0",
|
|
47
|
+
"@types/react-dom": "^19.0.0",
|
|
48
|
+
"@types/three": "^0.172.0",
|
|
49
|
+
"@vitejs/plugin-react": "^4.3.0",
|
|
50
|
+
"jsdom": "^25.0.0",
|
|
51
|
+
"pixelmatch": "^6.0.0",
|
|
52
|
+
"pngjs": "^7.0.0",
|
|
53
|
+
"typescript": "^5.7.0",
|
|
54
|
+
"vite": "^6.0.0",
|
|
55
|
+
"vite-plugin-wasm": "^3.5.0",
|
|
56
|
+
"vitest": "^3.0.0"
|
|
57
|
+
}
|
|
58
|
+
}
|