-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #243 from apiaryio/core-app-prepare
Bundles Gavel to UMD module
- Loading branch information
Showing
19 changed files
with
301 additions
and
2,436 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,5 +8,6 @@ cov.* | |
.nyc_output | ||
|
||
# List specific to .gitignore | ||
build | ||
node_modules | ||
.idea/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,7 @@ cov.* | |
# List specific to .npmignore | ||
.travis.yml | ||
.npmignore | ||
lib | ||
docs/ | ||
img/ | ||
test/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,15 @@ | ||
environment: | ||
nodejs_version: "10" | ||
nodejs_version: '10' | ||
cache: | ||
- "node_modules" | ||
- 'node_modules' | ||
install: | ||
- ps: Install-Product node 10 | ||
- "npm -g install npm@6" | ||
- 'npm -g install npm@6' | ||
- "set PATH=%APPDATA%\\npm;%PATH%" | ||
- "npm install" | ||
- 'npm install' | ||
build: off | ||
test_script: | ||
- "node --version" | ||
- "npm --version" | ||
- "npm test" | ||
- 'node --version' | ||
- 'npm --version' | ||
- 'npm run build' | ||
- 'npm test' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
const { parse } = require('jju/lib/parse'); | ||
|
||
const parseJson = (json, revivew) => { | ||
try { | ||
return parse(json, revivew); | ||
} catch (error) { | ||
throw error; | ||
} | ||
}; | ||
|
||
module.exports = parseJson; |
Oops, something went wrong.