diff --git a/package.json b/package.json index 0c4e662..d19a372 100644 --- a/package.json +++ b/package.json @@ -31,9 +31,10 @@ "postest": "npm run cov-html", "test-types": "tsc -p test", "test-runtime": "karma start test/karma.conf.cjs", - "test": "c8 mocha 'test/**/*.spec.{js,cjs}' && npm run test-types", - "debug": "mocha --inspect --inspect-brk 'test/**/*.spec.{js,cjs}'", - "prepublishOnly": "npm run build && npm run lint && npm run test && npm run test-runtime" + "test-commonjs": "c8 mocha 'test/**/*.spec.cjs'", + "test": "c8 mocha 'test/**/*.spec.js' && npm run test-types", + "debug": "mocha --inspect --inspect-brk 'test/**/*.spec.js'", + "prepublishOnly": "npm run build && npm run lint && npm run test && npm run test-commonjs && npm run test-runtime" }, "repository": { "type": "git",