summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-08-09 13:09:06 -0400
committerGitHub <noreply@github.com>2020-08-09 13:09:06 -0400
commit04d47bf8a92a71ae49c320d8d7eccd50c254348e (patch)
tree44de3c7e126efd4fac37cc6a19df05c7662b2f95 /package.json
parent14efd8a8248b4bb8cb0d76f6a9cd4bd51efd30f8 (diff)
Build system changes (#721)
* Refactor manifest.json * Change end-of-line convention for built plain-text files * Ignore builds directory * Mark the "dev" directory as using the node environment * Create build script * Register build scripts * Remove old build script * Fix 64x64 icon * Add test to ensure manifest data is updated properly
Diffstat (limited to 'package.json')
-rw-r--r--package.json6
1 files changed, 4 insertions, 2 deletions
diff --git a/package.json b/package.json
index f4f8459e..aaa7087e 100644
--- a/package.json
+++ b/package.json
@@ -6,9 +6,11 @@
"test": "test"
},
"scripts": {
- "test": "npm run test-lint && npm run test-code",
+ "build": "node ./dev/build.js",
+ "test": "npm run test-lint && npm run test-code && npm run test-manifest",
"test-lint": "eslint . && node ./test/lint/global-declarations.js",
- "test-code": "node ./test/test-schema.js && node ./test/test-dictionary.js && node ./test/test-database.js && node ./test/test-document.js && node ./test/test-object-property-accessor.js && node ./test/test-japanese.js && node ./test/test-text-source-map.js && node ./test/test-dom-text-scanner.js"
+ "test-code": "node ./test/test-schema.js && node ./test/test-dictionary.js && node ./test/test-database.js && node ./test/test-document.js && node ./test/test-object-property-accessor.js && node ./test/test-japanese.js && node ./test/test-text-source-map.js && node ./test/test-dom-text-scanner.js",
+ "test-manifest": "node ./test/test-manifest.js"
},
"repository": {
"type": "git",