summaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
authorUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2018-11-28 14:08:37 +0100
committerUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2018-11-28 14:08:37 +0100
commit1f301ad162964eb9079d1c22e3c7ed1c207c4f59 (patch)
tree2cf7457c4df0086c544431bebe904825a11110d5 /package.json
parent58fd0d68bc8b46b23f8cdc65190f08d4e524eb57 (diff)
parent186b1a4121d184cbc9dabcebad9922a480719dd2 (diff)
downloadsvg.js-1f301ad162964eb9079d1c22e3c7ed1c207c4f59.tar.gz
svg.js-1f301ad162964eb9079d1c22e3c7ed1c207c4f59.zip
Merge branch 'es6-tests' into 3.0.0
Diffstat (limited to 'package.json')
-rw-r--r--package.json11
1 files changed, 7 insertions, 4 deletions
diff --git a/package.json b/package.json
index 3c8366e..b3701fe 100644
--- a/package.json
+++ b/package.json
@@ -52,13 +52,16 @@
"typings": "./svg.js.d.ts",
"scripts": {
"build": "npm run fix && npm run rollup",
+ "build:polyfills": "npx rollup -c .config/rollup.polyfills.js",
+ "build:tests": "npx rollup -c rollup.tests.js",
"fix": "npx eslint ./src --fix",
"lint": "eslint ./src",
"rollup": "rollup -c .config/rollup.config.js",
"server": "npx http-server ./ -d",
"test": "npx karma start .config/karma.conf.js",
"test:ci": "karma start .config/karma.conf.saucelabs.js",
- "build:polyfills": "npx rollup -c .config/rollup.polyfills.js",
+ "test:svgdom": "node -r esm ./spec/run.js || true",
+ "test:es6": "npx karma start .config/karma.es6.js --single-run",
"prepublishOnly": "npm run build && npm run build:polyfills && npm test",
"postPublish": "echo Please upload a zip to the github release containing the dist, license and changelog"
},
@@ -82,7 +85,7 @@
"eslint-plugin-standard": "^4.0.0",
"esm": "^3.0.84",
"http-server": "^0.11.1",
- "innersvg-polyfill": "0.0.2",
+ "jasmine": "^3.3.0",
"jasmine-core": "^3.3.0",
"karma": "^3.1.1",
"karma-chrome-launcher": "^2.2.0",
@@ -94,11 +97,11 @@
"rollup-plugin-babel": "^4.0.3",
"rollup-plugin-commonjs": "^9.2.0",
"rollup-plugin-filesize": "^5.0.1",
+ "rollup-plugin-multi-entry": "^2.0.2",
"rollup-plugin-node-resolve": "^3.4.0",
"rollup-plugin-terser": "^3.0.0",
"rollup-plugin-uglify": "^6.0.0",
- "rollup-plugin-uglify-es": "0.0.1",
- "svgdom": "latest"
+ "svgdom": "github:svgdotjs/svgdom"
},
"browserslist": [
"last 1 version",