publish to npm

This commit is contained in:
Kyle Spearrin 2018-05-15 00:45:42 -04:00
parent 6533857916
commit 7a6ba7567c
2 changed files with 5 additions and 2 deletions

3
.npmignore Normal file
View File

@ -0,0 +1,3 @@
*
!/build
!/build/**/*

View File

@ -1,7 +1,7 @@
{ {
"name": "@bitwarden/cli", "name": "@bitwarden/cli",
"description": "A secure and free password manager for all of your devices.", "description": "A secure and free password manager for all of your devices.",
"version": "0.0.1", "version": "0.0.5",
"keywords": [ "keywords": [
"bitwarden", "bitwarden",
"password", "password",
@ -20,12 +20,12 @@
"sub:init": "git submodule update --init --recursive", "sub:init": "git submodule update --init --recursive",
"sub:update": "git submodule update --remote", "sub:update": "git submodule update --remote",
"sub:pull": "git submodule foreach git pull", "sub:pull": "git submodule foreach git pull",
"postinstall": "npm run sub:init",
"clean": "rimraf dist/**/*", "clean": "rimraf dist/**/*",
"build": "webpack --config webpack.config.js", "build": "webpack --config webpack.config.js",
"build:watch": "webpack --config webpack.config.js --watch", "build:watch": "webpack --config webpack.config.js --watch",
"build:prod": "cross-env NODE_ENV=production webpack --config webpack.config.js", "build:prod": "cross-env NODE_ENV=production webpack --config webpack.config.js",
"build:prod:watch": "cross-env NODE_ENV=production webpack --config webpack.config.js --watch", "build:prod:watch": "cross-env NODE_ENV=production webpack --config webpack.config.js --watch",
"publish:npm": "npm run build:prod && npm publish --access public",
"lint": "tslint src/**/*.ts spec/**/*.ts || true", "lint": "tslint src/**/*.ts spec/**/*.ts || true",
"lint:fix": "tslint src/**/*.ts spec/**/*.ts --fix" "lint:fix": "tslint src/**/*.ts spec/**/*.ts --fix"
}, },