Commit 2b6b21f4 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

lint checks added

parent 5960b4ec
{
"node": true,
"browser": true,
"es5": true,
"esnext": true,
"bitwise": true,
"camelcase": true,
"curly": true,
"eqeqeq": true,
"immed": true,
"latedef": true,
"laxbreak": true,
"newcap": true,
"noarg": true,
"regexp": true,
"undef": true,
"unused": true,
"strict": true,
"trailing": true,
"smarttabs": true
}
......@@ -5,6 +5,7 @@
"main": "minerva.js",
"scripts": {
"build": "rm -rf dist & rmdir /q /s dist & mkdir dist & browserify --debug --standalone minerva src/main/js/minerva.js | exorcist dist/minerva.js.map > dist/minerva.js & uglifyjs --compress --mangle --in-source-map dist/minerva.js.map --source-map-include-sources --source-map dist/minerva.min.js.map -o dist/minerva.min.js dist/minerva.js",
"lint": "jshint src/.",
"test": "istanbul cover node_modules/mocha/bin/_mocha -- --recursive src/test/js"
},
"author": "Piotr Gawron",
......@@ -15,6 +16,7 @@
"exorcist": "^0.4.0",
"jquery": "3.1.1",
"jsdom": "^9.8.3",
"jshint": "^2.9.4",
"log4js-memory-appender": "1.0.5",
"mocha": "^3.1.2",
"uglifyjs": "^2.4.10"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment