mirror of
https://github.com/systemjs/systemjs.git
synced 2026-01-18 14:53:14 +00:00
42 lines
1.5 KiB
JSON
42 lines
1.5 KiB
JSON
{
|
|
"name": "systemjs",
|
|
"version": "6.1.3",
|
|
"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",
|
|
"opn": "^6.0.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 test/import-map.js test/system-core.js test/url-resolution.js && npm run test-browser",
|
|
"test-browser": "node test/server.js",
|
|
"prepublish": "npm run build"
|
|
}
|
|
}
|