From c3ef429dad215ce11972bcda8516b8719d1e5321 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sat, 12 Dec 2015 16:14:50 +0000 Subject: [PATCH] Added scripts --- package.json | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index c406179..7bf08f5 100644 --- a/package.json +++ b/package.json @@ -2,9 +2,12 @@ "name": "django-client-reverse-helper", "version": "0.0.0", "description": "Client side helper for Django-Client-Reverse", - "main": "build/app.js", + "main": "src/app.js", "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" + "test": "npm run lint", + "lint": "eslint -c node_modules/eslint-config/.eslintrc 'src'", + "create-build-dirs": "mkdir -p build", + "build-js": "browserify -t [ babelify --presets [ es2015 ] ] src/app.js -o build/app.js" }, "repository": { "type": "git",