diff options
author | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2018-11-13 10:10:32 +0100 |
---|---|---|
committer | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2018-11-28 13:44:53 +0100 |
commit | 54d407608efec1ca37f18178082bb9703cf8bc1e (patch) | |
tree | 1d17f7d301cf46a706ce1e0e95bf350e45c582e6 /package.json | |
parent | 675847a99f1640c87df0a6187eeb34b90d903666 (diff) | |
download | svg.js-54d407608efec1ca37f18178082bb9703cf8bc1e.tar.gz svg.js-54d407608efec1ca37f18178082bb9703cf8bc1e.zip |
add config for karma to run es6 tests
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/package.json b/package.json index e89abd7..65f38ca 100644 --- a/package.json +++ b/package.json @@ -52,14 +52,15 @@ "typings": "./svg.js.d.ts", "scripts": { "build": "npm run fix && npm run rollup", + "build:polyfills": "npx rollup -c .config/rollup.polyfills.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", - "test:quick": "node -r esm ./spec/run.js || true", - "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" }, |