mirror of https://github.com/status-im/codimd.git
Merge pull request #586 from PeterDaveHello/jsonlint
Add jsonlint script to ensure all json files are valid
This commit is contained in:
commit
053e616be5
|
@ -5,7 +5,8 @@
|
||||||
"main": "app.js",
|
"main": "app.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "npm run-script standard",
|
"test": "npm run-script standard && npm run-script jsonlint",
|
||||||
|
"jsonlint": "find . -not -path './node_modules/*' -type f -name '*.json' | while read json; do echo $json ; jsonlint -q $json; done",
|
||||||
"standard": "node ./node_modules/standard/bin/cmd.js",
|
"standard": "node ./node_modules/standard/bin/cmd.js",
|
||||||
"dev": "webpack --config webpack.config.js --progress --colors --watch",
|
"dev": "webpack --config webpack.config.js --progress --colors --watch",
|
||||||
"build": "webpack --config webpack.production.js --progress --colors --bail",
|
"build": "webpack --config webpack.production.js --progress --colors --bail",
|
||||||
|
@ -159,6 +160,7 @@
|
||||||
"html-webpack-plugin": "^2.25.0",
|
"html-webpack-plugin": "^2.25.0",
|
||||||
"imports-loader": "^0.7.0",
|
"imports-loader": "^0.7.0",
|
||||||
"json-loader": "^0.5.4",
|
"json-loader": "^0.5.4",
|
||||||
|
"jsonlint": "^1.6.2",
|
||||||
"less": "^2.7.1",
|
"less": "^2.7.1",
|
||||||
"less-loader": "^2.2.3",
|
"less-loader": "^2.2.3",
|
||||||
"optimize-css-assets-webpack-plugin": "^1.3.0",
|
"optimize-css-assets-webpack-plugin": "^1.3.0",
|
||||||
|
|
Loading…
Reference in New Issue