systemjs/package.json

40 lines
1.3 KiB
JSON

{
"name": "systemjs",
"version": "5.0.0",
"description": "Dynamic ES module loader",
"repository": {
"type": "git",
"url": "git://github.com/systemjs/systemjs"
},
"author": "Guy Bedford",
"type": "module",
"license": "MIT",
"files": [
"dist"
],
"devDependencies": {
"bluebird": "^3.5.1",
"construct-style-sheets-polyfill": "^2.1.0",
"esm": "^3.2.25",
"mocha": "^5.2.0",
"rollup": "^0.64.1",
"rollup-plugin-replace": "^2.0.0",
"terser": "^3.8.1",
"whatwg-fetch": "^2.0.4"
},
"scripts": {
"build": "npm run build:systemjs && npm run build:sjs && npm run min && npm run build:extras",
"build:systemjs": "rollup -c",
"build:sjs": "rollup -c --environment sjs",
"build:extras": "bash minify-extras.sh",
"min": "npm run min:systemjs && npm run min:sjs",
"min:systemjs": "cd dist && terser system.js -c passes=2 -m --source-map --comments \"/SystemJS \\d/\" -o system.min.js",
"min:sjs": "cd dist && terser s.js -c passes=2 -m --source-map -o s.min.js",
"footprint": "npm run footprint:systemjs && npm run footprint:sjs",
"footprint:systemjs": "terser dist/system.js -c passes=2 -m | gzip -9f | wc -c",
"footprint:sjs": "terser dist/s.js -c passes=2 -m | gzip -9f | wc -c",
"test": "mocha -b -r esm",
"prepublish": "npm run build"
}
}