package.json 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. {
  2. "name": "@tootallnate/quickjs-emscripten",
  3. "version": "0.23.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. "tarball": "make build/quickjs-emscripten.tgz",
  29. "clean": "make clean",
  30. "tsc": "node_modules/.bin/tsc",
  31. "build": "make dist",
  32. "doc": "typedoc",
  33. "test": "TS_NODE_TRANSPILE_ONLY=true mocha 'ts/**/*.test.ts'",
  34. "test-dist": "cd dist && TS_NODE_TRANSPILE_ONLY=true mocha --require source-map-support/register *.test.js",
  35. "test-fast": "TEST_NO_ASYNC=true yarn test 'ts/**/*.test.ts'",
  36. "test-all": "TEST_LEAK=1 yarn test && TEST_LEAK=1 yarn test-dist",
  37. "prettier": "prettier --write .",
  38. "prettier-check": "prettier --check .",
  39. "update-quickjs": "git subtree pull --prefix=quickjs --squash git@github.com:bellard/quickjs.git master",
  40. "smoketest-node": "yarn tarball && ./scripts/smoketest-node.sh",
  41. "smoketest-cra": "yarn tarball && ./scripts/smoketest-website.sh"
  42. },
  43. "devDependencies": {
  44. "@types/emscripten": "^1.38.0",
  45. "@types/fs-extra": "^9.0.13",
  46. "@types/mocha": "^5.2.7",
  47. "@types/node": "^13.1.4",
  48. "fs-extra": "^10.0.1",
  49. "markserv": "^1.17.4",
  50. "mocha": "7.2.0",
  51. "node-fetch-commonjs": "^3.1.1",
  52. "prettier": "2.8.4",
  53. "source-map-support": "^0.5.21",
  54. "ts-node": "^10.9.1",
  55. "typedoc": "^0.22.0",
  56. "typedoc-plugin-inline-sources": "^1.0.1",
  57. "typedoc-plugin-markdown": "^3.11.12",
  58. "typescript": "^4.9.5"
  59. }
  60. }