systemjs/package.json
Guy Bedford 3588eddfd9 2.1.2
2019-01-12 01:31:01 +02:00

46 lines
1.8 KiB
JSON

{
"name": "systemjs",
"version": "2.1.2",
"description": "Dynamic ES module loader",
"repository": {
"type": "git",
"url": "git://github.com/systemjs/systemjs"
},
"author": "Guy Bedford",
"mode": "esm",
"license": "MIT",
"files": [
"dist"
],
"devDependencies": {
"@babel/cli": "^7.0.0-rc.1",
"@babel/core": "^7.0.0-rc.1",
"@babel/plugin-syntax-import-meta": "^7.0.0-rc.1",
"@babel/plugin-transform-modules-systemjs": "^7.0.0-rc.1",
"bluebird": "^3.5.1",
"esm": "^3.0.77",
"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",
"test:rebuild": "babel test/fixtures/es-modules --plugins=@babel/plugin-syntax-import-meta,@babel/plugin-transform-modules-systemjs --out-dir test/fixtures/register-modules",
"test:systemjs": "mocha test/test-traceur.js -u tdd --reporter dot",
"test:sjs": "mocha test/test-production.js -u tdd --reporter dot",
"prepublish": "npm run build"
}
}