Added linting, processed current snippets

This commit is contained in:
Angelos Chalaris
2017-12-14 00:05:44 +02:00
parent f6426792d3
commit 143c024968
35 changed files with 2079 additions and 76 deletions

View File

@ -4,7 +4,8 @@
"fs-extra": "^4.0.2",
"live-server": "^1.2.0",
"markdown-it": "^8.4.0",
"nodemon": "^1.12.1"
"nodemon": "^1.12.1",
"semistandard": "^11.0.0"
},
"name": "30-seconds-of-code",
"description": "A collection of useful Javascript snippets.",
@ -13,6 +14,7 @@
"devDependencies": {},
"scripts": {
"build-list": "node ./scripts/builder.js",
"lint": "node ./scripts/lintSnippet.js",
"start": "concurrently --kill-others \"nodemon -e js,md -i README.md -x \\\"npm run build-list\\\"\" \"live-server ./build\""
},
"repository": {