|
|
@@ -1,50 +1,48 @@ |
|
|
|
{ |
|
|
|
"name": "lesspass-webextension", |
|
|
|
"description": "chrome and firefox web extension for LessPass", |
|
|
|
"author": "Guillaume Vincent <guillaume@oslab.fr>", |
|
|
|
"private": true, |
|
|
|
"scripts": { |
|
|
|
"prebuild": "npm prune && npm install", |
|
|
|
"clean": "rm -rf extension/dist/ && mkdir extension/dist/", |
|
|
|
"zip": "rm -rf build && mkdir build && cd extension && zip -r extension.zip ./* -x ./*.js && cp extension.zip ../build/lesspass.firefox.xpi && mv extension.zip ../build/lesspass.chrome.zip && cd ..", |
|
|
|
"browserify": "browserify ./extension/content.js -o ./extension/dist/content.min.js && browserify ./extension/popup.js -o ./extension/dist/popup.min.js", |
|
|
|
"browserify": "browserify ./extension/popup.js -o ./extension/dist/popup.min.js", |
|
|
|
"build": "npm run clean && gulp && npm run browserify && npm run zip", |
|
|
|
"test": "ava tests --require babel-core/register && xo" |
|
|
|
"test": "ava tests --compilers js:babel-register" |
|
|
|
}, |
|
|
|
"dependencies": { |
|
|
|
"jsdom": "^9.4.0", |
|
|
|
"lesspass-pure": "^1.1.2", |
|
|
|
"tldjs": "^1.6.2" |
|
|
|
"lesspass-frontend": "^1.0.1", |
|
|
|
"tldjs": "^1.7.0" |
|
|
|
}, |
|
|
|
"devDependencies": { |
|
|
|
"ava": "^0.15.2", |
|
|
|
"babel-core": "^6.10.4", |
|
|
|
"babel-preset-es2015": "^6.9.0", |
|
|
|
"ava": "^0.16.0", |
|
|
|
"babel-core": "^6.17.0", |
|
|
|
"babel-loader": "^6.2.5", |
|
|
|
"babel-plugin-transform-runtime": "^6.15.0", |
|
|
|
"babel-preset-es2015": "^6.16.0", |
|
|
|
"babel-preset-stage-2": "^6.17.0", |
|
|
|
"babel-register": "^6.16.3", |
|
|
|
"babel-runtime": "^6.11.6", |
|
|
|
"babelify": "^7.3.0", |
|
|
|
"browserify": "^13.0.1", |
|
|
|
"gulp": "^3.9.1", |
|
|
|
"jpm": "^1.0.7", |
|
|
|
"jsdom": "^9.3.0", |
|
|
|
"xo": "0.16.0" |
|
|
|
"browserify": "^13.1.0", |
|
|
|
"gulp": "^3.9.1" |
|
|
|
}, |
|
|
|
"xo": { |
|
|
|
"space": true, |
|
|
|
"envs": [ |
|
|
|
"browser", |
|
|
|
"webextensions" |
|
|
|
"babel": { |
|
|
|
"presets": [ |
|
|
|
"es2015", |
|
|
|
"stage-2" |
|
|
|
], |
|
|
|
"ignores": [ |
|
|
|
"extension/dist/**" |
|
|
|
] |
|
|
|
"plugins": [ |
|
|
|
"transform-runtime" |
|
|
|
], |
|
|
|
"comments": false |
|
|
|
}, |
|
|
|
"ava": { |
|
|
|
"files": [ |
|
|
|
"tests/*.js" |
|
|
|
"require": [ |
|
|
|
"babel-register" |
|
|
|
], |
|
|
|
"source": [ |
|
|
|
"extension/*.js" |
|
|
|
] |
|
|
|
}, |
|
|
|
"babel": { |
|
|
|
"presets": [ |
|
|
|
"es2015" |
|
|
|
] |
|
|
|
"babel": "inherit" |
|
|
|
}, |
|
|
|
"browserify": { |
|
|
|
"transform": [ |
|
|
|