summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
Diffstat (limited to 'package.json')
-rw-r--r--package.json16
1 files changed, 7 insertions, 9 deletions
diff --git a/package.json b/package.json
index 0ff0bd84..04ed26b9 100644
--- a/package.json
+++ b/package.json
@@ -16,11 +16,9 @@
"test": "tests"
},
"scripts": {
- "test": "cd tests && ./JavaScriptTest.sh",
- "compile-ts": "tsc && tsc -p tsconfig.mjs.json",
- "pretest": "npm run compile-ts",
- "append-esm-export": "sed \"s/this.flatbuffers = flatbuffers;/export { flatbuffers };/\" js/flatbuffers.js > js/flatbuffers.mjs",
- "prepublishOnly": "npm run compile-ts && npm run append-esm-export"
+ "test": "npm run compile && cd tests && ./TypeScriptTest.sh",
+ "compile": "tsc && tsc -p tsconfig.mjs.json",
+ "prepublishOnly": "npm run compile"
},
"repository": {
"type": "git",
@@ -37,9 +35,9 @@
"homepage": "https://google.github.io/flatbuffers/",
"dependencies": {},
"devDependencies": {
- "@typescript-eslint/eslint-plugin": "^4.1.0",
- "@typescript-eslint/parser": "^4.1.0",
- "eslint": "^7.8.1",
- "typescript": "^4.0.2"
+ "@typescript-eslint/eslint-plugin": "^4.12.0",
+ "@typescript-eslint/parser": "^4.12.0",
+ "eslint": "^7.17.0",
+ "typescript": "^4.1.3"
}
}