package.json 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. {
  2. "name": "acorn-import-assertions",
  3. "version": "1.8.0",
  4. "description": "Support for import assertions in acorn",
  5. "main": "lib/index.js",
  6. "module": "src/index.js",
  7. "exports": {
  8. ".": {
  9. "import": "./lib/index.mjs",
  10. "require": "./lib/index.js"
  11. },
  12. "./package.json": "./package.json",
  13. "./": "./"
  14. },
  15. "scripts": {
  16. "build": "babel ./src --out-dir ./lib && node post-build.js",
  17. "prepublishOnly": "npm run build",
  18. "test": "mocha ./test/index.js",
  19. "test:test262": "node run_test262.js",
  20. "watch": "babel ./src --out-dir ./lib --watch"
  21. },
  22. "author": "Sven Sauleau <sven@sauleau.com>",
  23. "license": "MIT",
  24. "devDependencies": {
  25. "@babel/cli": "^7.14.8",
  26. "@babel/core": "^7.15.0",
  27. "@babel/preset-env": "^7.15.0",
  28. "@babel/register": "^7.15.3",
  29. "acorn": "^8.4.1",
  30. "chai": "^4.3.4",
  31. "mocha": "^9.1.0",
  32. "test262": "tc39/test262#47ab262658cd97ae35c9a537808cac18fa4ab567",
  33. "test262-parser-runner": "^0.5.0"
  34. },
  35. "peerDependencies": {
  36. "acorn": "^8"
  37. },
  38. "repository": {
  39. "type": "git",
  40. "url": "https://github.com/xtuc/acorn-import-assertions"
  41. },
  42. "browserslist": [
  43. "maintained node versions"
  44. ],
  45. "files": [
  46. "lib",
  47. "src"
  48. ]
  49. }