1 | {
|
2 | "name": "quickjs-emscripten",
|
3 | "version": "0.21.0",
|
4 | "main": "dist/index.js",
|
5 | "sideEffects": false,
|
6 | "license": "MIT",
|
7 | "keywords": [
|
8 | "eval",
|
9 | "quickjs",
|
10 | "vm",
|
11 | "interpreter",
|
12 | "runtime",
|
13 | "safe",
|
14 | "emscripten",
|
15 | "wasm"
|
16 | ],
|
17 | "repository": {
|
18 | "type": "git",
|
19 | "url": "https://github.com/justjake/quickjs-emscripten"
|
20 | },
|
21 | "files": [
|
22 | "c/interface.c",
|
23 | "dist/**/*",
|
24 | "!dist/*.test.js",
|
25 | "!dist/*.tsbuildinfo"
|
26 | ],
|
27 | "scripts": {
|
28 | "prepack": "yarn build",
|
29 | "tarball": "make build/quickjs-emscripten.tgz",
|
30 | "prepare": "yarn prettier-check && yarn tarball && yarn test && yarn test-dist && yarn smoketest-node",
|
31 | "clean": "make clean",
|
32 | "tsc": "node_modules/.bin/tsc",
|
33 | "build": "make dist",
|
34 | "doc": "typedoc",
|
35 | "test": "TS_NODE_TYPE_CHECK=false mocha",
|
36 | "test-dist": "cd dist && TS_NODE_TYPE_CHECK=false mocha --require source-map-support/register *.test.js",
|
37 | "test-fast": "TS_NODE_TYPE_CHECK=false TEST_NO_ASYNC=true mocha",
|
38 | "test-all": "TEST_LEAK=1 yarn test && yarn test-dist",
|
39 | "prettier": "prettier --write .",
|
40 | "prettier-check": "prettier --check .",
|
41 | "update-quickjs": "git subtree pull --prefix=quickjs --squash git@github.com:bellard/quickjs.git master",
|
42 | "smoketest-node": "yarn tarball && ./scripts/smoketest-node.sh",
|
43 | "smoketest-cra": "yarn tarball && ./scripts/smoketest-website.sh"
|
44 | },
|
45 | "devDependencies": {
|
46 | "@types/emscripten": "^1.38.0",
|
47 | "@types/fs-extra": "^9.0.13",
|
48 | "@types/mocha": "^5.2.7",
|
49 | "@types/node": "^13.1.4",
|
50 | "fs-extra": "^10.0.1",
|
51 | "markserv": "^1.17.4",
|
52 | "mocha": "7.2.0",
|
53 | "node-fetch-commonjs": "^3.1.1",
|
54 | "prettier": "2.5.1",
|
55 | "source-map-support": "^0.5.16",
|
56 | "ts-node": "^10.7.0",
|
57 | "typedoc": "^0.22.0",
|
58 | "typedoc-plugin-inline-sources": "^1.0.1",
|
59 | "typedoc-plugin-markdown": "^3.11.12",
|
60 | "typescript": "^4.5.5"
|
61 | }
|
62 | }
|