package.json 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. {
  2. "name": "systemjs",
  3. "version": "0.21.6",
  4. "description": "Dynamic ES module loader",
  5. "repository": {
  6. "type": "git",
  7. "url": "git://github.com/systemjs/systemjs"
  8. },
  9. "author": "Guy Bedford",
  10. "license": "MIT",
  11. "files": [
  12. "dist"
  13. ],
  14. "main": "dist/system.src.js",
  15. "devDependencies": {
  16. "babel-core": "^6.21.0",
  17. "babel-plugin-syntax-dynamic-import": "^6.18.0",
  18. "babel-plugin-transform-es2015-modules-systemjs": "^6.19.0",
  19. "bluebird": "^3.4.6",
  20. "es-module-loader": "^2.3.0",
  21. "mocha": "^3.1.2",
  22. "rimraf": "^2.6.1",
  23. "rollup": "^0.58.0",
  24. "rollup-plugin-node-resolve": "^2.0.0",
  25. "rollup-plugin-replace": "^1.1.1",
  26. "systemjs-plugin-babel": "0.0.17",
  27. "systemjs-plugin-traceur": "0.0.3",
  28. "traceur": "0.0.111",
  29. "uglify-js": "^3.0.11"
  30. },
  31. "scripts": {
  32. "build": "npm run build:dev && npm run build:production",
  33. "build:dev": "rollup -c",
  34. "build:production": "rollup -c --environment production",
  35. "min": "npm run min:dev && npm run min:production",
  36. "min:dev": "cd dist && uglifyjs system.src.js -cm --source-map content=system.src.js.map --comments \"/SystemJS v/\" -o system.js",
  37. "min:production": "cd dist && uglifyjs system-production.src.js -cm --source-map content=system-production.src.js.map --comments \"/SystemJS v/\" -o system-production.js",
  38. "footprint": "npm run footprint:dev && npm run footprint:production",
  39. "footprint:dev": "uglifyjs dist/system.src.js -cm | gzip -9f | wc -c",
  40. "footprint:production": "uglifyjs dist/system-production.src.js -cm | gzip -9f | wc -c",
  41. "test": "npm run test:production && npm run test:babel && npm run test:traceur",
  42. "test:traceur": "mocha test/test-traceur.js -u tdd --reporter dot",
  43. "test:babel": "mocha test/test-babel.js -u tdd --reporter dot",
  44. "test:production": "mocha test/test-production.js -u tdd --reporter dot",
  45. "irhydra": "node --trace-hydrogen --trace-phase=Z --trace-deopt --code-comments --hydrogen-track-positions --redirect-code-traces --redirect-code-traces-to=code.asm --print-opt-code --trace_hydrogen_file=hydrogen.cfg irhydra/load.js",
  46. "prepublish": "rimraf dist && npm run build && npm run min"
  47. }
  48. }