Skip to content

Commit

Permalink
[Fixes #18] Change versioning scheme, update test script
Browse files Browse the repository at this point in the history
  • Loading branch information
thoragio committed May 28, 2017
1 parent b221835 commit 4a1fbb0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "webvr-polyfill-dpdb",
"version": "0.9.27",
"version": "1.0.0",
"description": "A Device Parameter Database for the WebVR Polyfill",
"main": "dpdb.json",
"license": "Apache-2.0",
Expand All @@ -14,7 +14,7 @@
"start": "npm run build",
"build": "node scripts/build.js --write",
"test:build": "node scripts/build.js",
"test": "mocha"
"test": "npm run test:build && mocha"
},
"devDependencies": {
"chai": "^3.5.0",
Expand Down
2 changes: 1 addition & 1 deletion scripts/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ let dpdbObj;

try {
dpdbObj = JSON.parse(dpdbStr);
console.log(`Successfully parsed JSON object from file "${inputFile}".`)
console.log(`Successfully parsed JSON object from file "${inputFile}".`);
} catch (err) {
throw new Error(`Could not parse as JSON from file "${inputFile}"`);
console.error(err);
Expand Down

0 comments on commit 4a1fbb0

Please sign in to comment.