|
|
@@ -4,7 +4,14 @@ |
|
|
|
"description": "lesspass is like keepass without the need to persist password", |
|
|
|
"main": "lesspass.js", |
|
|
|
"scripts": { |
|
|
|
"test": "node_modules/mocha/bin/mocha --compilers js:babel-core/register --ui bdd --reporter min --recursive ./tests" |
|
|
|
"test": "mocha --compilers js:babel-core/register --ui bdd --reporter min --recursive ./tests", |
|
|
|
"build": "npm-run-all clean copy 'build:*'", |
|
|
|
"build:app": "browserify -e ./app/app.js -o ./dist/app.js", |
|
|
|
"clean": "rimraf ./dist/**/*", |
|
|
|
"copy": "mkdir -p ./dist && cp -ra public/. dist", |
|
|
|
"serve": "static -p ${PORT:-5000} --gzip --host-address 0.0.0.0 dist/", |
|
|
|
"start": "npm run serve", |
|
|
|
"prestart": "npm run build" |
|
|
|
}, |
|
|
|
"repository": { |
|
|
|
"type": "git", |
|
|
@@ -22,19 +29,36 @@ |
|
|
|
}, |
|
|
|
"homepage": "https://github.com/guillaumevincent/lesspass#readme", |
|
|
|
"dependencies": { |
|
|
|
"bootstrap": "^3.3.6", |
|
|
|
"mocha": "^2.3.4" |
|
|
|
"bootstrap": "^3.3.6" |
|
|
|
}, |
|
|
|
"jshintConfig": { |
|
|
|
"esnext": true |
|
|
|
}, |
|
|
|
"devDependencies": { |
|
|
|
"babel-core": "^6.3.15", |
|
|
|
"babel-preset-es2015": "^6.3.13" |
|
|
|
"babel-preset-es2015": "^6.3.13", |
|
|
|
"babelify": "^7.2.0", |
|
|
|
"browserify": "^12.0.1", |
|
|
|
"mocha": "^2.3.4", |
|
|
|
"node-static": "^0.7.7", |
|
|
|
"npm-run-all": "^1.4.0", |
|
|
|
"rimraf": "^2.4.4" |
|
|
|
}, |
|
|
|
"babel": { |
|
|
|
"presets": [ |
|
|
|
"es2015" |
|
|
|
] |
|
|
|
}, |
|
|
|
"browserify": { |
|
|
|
"transform": [ |
|
|
|
[ |
|
|
|
"babelify", |
|
|
|
{ |
|
|
|
"presets": [ |
|
|
|
"es2015" |
|
|
|
] |
|
|
|
} |
|
|
|
] |
|
|
|
] |
|
|
|
} |
|
|
|
} |