-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpackage.json
More file actions
76 lines (76 loc) · 3.6 KB
/
package.json
File metadata and controls
76 lines (76 loc) · 3.6 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
{
"name": "polyscript",
"version": "0.4.11",
"description": "PyScript single core to rule them all",
"main": "./cjs/index.js",
"types": "./types/polyscript/esm/index.d.ts",
"scripts": {
"server": "npx static-handler --cors --coep --coop --corp .",
"build": "npm run rollup:xworker && npm run rollup:core && eslint esm/ && npm run ts && npm run cjs && npm run rollup:integrations && cp core.* docs/",
"cjs": "ascjs --no-default esm cjs",
"dev": "node dev.cjs",
"rollup:core": "rollup --config rollup/core.config.js",
"rollup:integrations": "node rollup/build_integrations.cjs",
"rollup:xworker": "rollup --config rollup/xworker.config.js",
"test": "c8 --100 node --experimental-loader @node-loader/import-maps test/index.js && npm run test:integration",
"test:html": "npm run test && c8 report -r html",
"test:integration//": "Don't bother with spinning servers. Trap the tests EXIT_CODE. Kill the running server, if any. Return the EXIT_CODE to eventually throw an error.",
"test:integration": "static-handler --cors --coep --coop --corp . 2>/dev/null & SH_PID=$!; EXIT_CODE=0; playwright test --fully-parallel test/ || EXIT_CODE=$?; kill $SH_PID 2>/dev/null; exit $EXIT_CODE",
"coverage": "mkdir -p ./coverage; c8 report --reporter=text-lcov > ./coverage/lcov.info",
"size": "npm run size:module && npm run size:worker",
"size:module": "echo module is $(cat core.js | brotli | wc -c) bytes once compressed",
"size:worker": "echo worker is $(cat esm/worker/xworker.js | brotli | wc -c) bytes once compressed",
"ts": "tsc -p .",
"update:interpreters": "npm run version:pyodide && npm run version:wasmoon && npm run version:ruby-wasm-wasi && npm run version:micropython && node rollup/update_versions.cjs && npm run build && npm run test",
"version:micropython": "npm view @micropython/micropython-webassembly-pyscript version>versions/micropython",
"version:pyodide": "npm view pyodide version>versions/pyodide",
"version:ruby-wasm-wasi": "git ls-remote --tags --refs --sort='v:refname' https://github.com/ruby/ruby.wasm.git | grep 'tags/[[:digit:]]\\.' | tail -n1 | sed 's/.*\\///'>versions/ruby-wasm-wasi",
"version:wasmoon": "npm view wasmoon version>versions/wasmoon"
},
"keywords": [
"polyscript",
"pyscript",
"core",
"python"
],
"author": "Anaconda Inc.",
"license": "APACHE-2.0",
"devDependencies": {
"@node-loader/import-maps": "^1.1.0",
"@playwright/test": "^1.38.1",
"@rollup/plugin-node-resolve": "^15.2.1",
"@rollup/plugin-terser": "^0.4.3",
"ascjs": "^6.0.2",
"c8": "^8.0.1",
"chokidar": "^3.5.3",
"eslint": "^8.50.0",
"linkedom": "^0.15.3",
"rollup": "^3.29.3",
"static-handler": "^0.4.2",
"typescript": "^5.2.2"
},
"type": "module",
"module": "./core.js",
"unpkg": "./core.js",
"jsdelivr": "./jsdelivr.js",
"browser": "./core.js",
"exports": {
".": {
"types": "./types/polyscript/esm/index.d.ts",
"import": "./esm/index.js",
"default": "./cjs/index.js"
},
"./package.json": "./package.json"
},
"dependencies": {
"@ungap/structured-clone": "^1.2.0",
"@ungap/with-resolvers": "^0.1.0",
"basic-devtools": "^0.1.6",
"codedent": "^0.1.2",
"coincident": "^0.13.3",
"html-escaper": "^3.0.3"
},
"worker": {
"blob": "sha256-i+V1onL/+r/OO5XheOe/tvzQ2olHFpxNdK0KmoQnHF4="
}
}