systemjs/package.json
Joel Denning fa6afcd1ca
Fixing NodeJS build and tests. (#2163)
* Fixing NodeJS build and tests.

* Ensuring browser tests are run in firefox.

* Self review

* Making footprint command faster

* Fixing test scripts in Windows
2020-04-07 13:29:00 -06:00

60 lines
2.0 KiB
JSON

{
"name": "systemjs",
"version": "6.2.6",
"main": "dist/system-node.cjs",
"exports": {
"node": "./dist/system-node.cjs",
"default": "./dist/system.min.js"
},
"description": "Dynamic ES module loader",
"repository": {
"type": "git",
"url": "git://github.com/systemjs/systemjs"
},
"author": "Guy Bedford",
"type": "module",
"license": "MIT",
"files": [
"dist"
],
"devDependencies": {
"@jsenv/github-pull-request-filesize-impact": "^2.6.0",
"@rollup/plugin-json": "^4.0.2",
"@rollup/plugin-node-resolve": "^7.1.1",
"@rollup/plugin-replace": "^2.3.1",
"@zeit/ncc": "^0.22.1",
"bluebird": "^3.7.2",
"concurrently": "^5.1.0",
"construct-style-sheets-polyfill": "^2.3.5",
"cross-env": "^7.0.2",
"make-fetch-happen": "^8.0.4",
"mocha": "^7.1.1",
"open": "^7.0.3",
"rimraf": "^3.0.2",
"rollup": "^2.2.0",
"rollup-plugin-terser": "^5.3.0",
"source-map-support": "^0.5.16",
"terser": "^4.6.7",
"whatwg-fetch": "^3.0.0"
},
"scripts": {
"build": "rimraf dist && concurrently -n w: 'yarn:build:*'",
"build:node": "node --experimental-modules build-node.js",
"build:browser:prod": "rollup -c",
"build:browser:dev": "rollup -c --environment dev",
"footprint": "concurrently -n w: 'npm:footprint:*'",
"footprint:systemjs": "cat dist/system.min.js | gzip -9f | wc -c",
"footprint:sjs": "cat dist/s.min.js | gzip -9f | wc -c",
"test": "concurrently -n w: 'npm:test:*'",
"test:internals": "cross-env NODE_OPTIONS=--experimental-modules mocha -b --file test/mocha-setup.js test/import-map.js test/system-core.js test/url-resolution.js",
"test:node": "cross-env NODE_OPTIONS=--experimental-modules mocha -b --file test/mocha-setup.js test/system-node.js",
"test:browser": "node test/server.cjs",
"test-browser-watch": "cross-env WATCH_MODE=true node test/server.cjs",
"prepublish": "npm run build"
},
"collective": {
"type": "opencollective",
"url": "https://opencollective.com/systemjs"
}
}