Skip to content

Commit

Permalink
Use esm package with mocha
Browse files Browse the repository at this point in the history
  • Loading branch information
dtPhilippRaab committed Sep 23, 2020
1 parent 522f5e4 commit a02ed00
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"license": "MIT",
"devDependencies": {
"@codemirror/next": "^0.12.0",
"esm": "^3.2.25",
"lezer-generator": "^0.10.5",
"lezer-tree": "^0.10.0",
"mocha": "^8.1.3",
Expand All @@ -32,7 +33,7 @@
"build": "lezer-generator src/json.grammar -o src/parser && rollup -c",
"build-debug": "lezer-generator src/json.grammar --names -o src/parser && rollup -c",
"prepare": "npm run build",
"test": "npm run build && mocha test/test-json.js",
"test": "npm run build && mocha test/test-json.js --require esm",
"demo:dev": "parcel index.html --out-dir docs",
"demo:build": "rm -rf docs && parcel build index.html --out-dir docs --public-url '.'"
}
Expand Down

0 comments on commit a02ed00

Please sign in to comment.