Added scripts
This commit is contained in:
parent
40a76f5faf
commit
c3ef429dad
1 changed files with 5 additions and 2 deletions
|
@ -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",
|
||||
|
|
Reference in a new issue