Browse Source

remove useless command in npm

pull/2/head
Guillaume Vincent 9 years ago
parent
commit
cd494a540a
3 changed files with 2 additions and 84 deletions
  1. +0
    -9
      README.md
  2. +2
    -5
      package.json
  3. +0
    -70
      package.json.old

+ 0
- 9
README.md View File

@@ -4,7 +4,6 @@ lesspass is like keepass without the need to persist passwords
## requirements

* node v4.2.x LTS
* npm v2.14

## try lesspass

@@ -32,14 +31,6 @@ open the application in a browser: [http://localhost:5000](http://localhost:5000

npm run test

### run tests in watch mode

npm run test:watch

### start lesspass in watch mode

npm run start:watch

### build for production

npm run build:production

+ 2
- 5
package.json View File

@@ -5,8 +5,7 @@
"main": "app/app.js",
"scripts": {
"pretest": "npm install",
"test": "mocha --compilers js:babel-core/register tests",
"test:watch": "npm test -- -w",
"test": "mocha -w --compilers js:babel-core/register tests",
"lint": "jshint app/**",
"build:production": "npm prune && npm install && npm run lint && npm test && npm run build",
"build": "npm-run-all clean build:html build:app",
@@ -14,10 +13,8 @@
"build:html": "cpy '**/*.html' '../dist/' --cwd=static --parents",
"build:app": "browserify -e ./app/app.js -o ./dist/app.js",
"prestart": "npm run build",
"start": "npm run serve",
"start": "npm-run-all --parallel serve watch:html watch:app",
"serve": "http-server -p 5000 dist/",
"watch": "npm run start:watch",
"start:watch": "npm-run-all --parallel serve watch:html watch:app",
"watch:html": "watch 'npm run build:html' static",
"watch:app": "watchify -dv -e ./app/app.js -o ./dist/app.js"
},


+ 0
- 70
package.json.old View File

@@ -1,70 +0,0 @@
{
"name": "lesspass",
"version": "1.0.0",
"description": "lesspass is like keepass without the need to persist password",
"main": "lesspass.js",
"scripts": {
"test": "mocha --compilers js:babel-core/register --ui bdd --reporter min --recursive ./tests",
"build": "npm-run-all clean copy build_app",
"build_app": "browserify -e ./app/app.js -o ./dist/app.js",
"clean": "rimraf ./dist/**/* && rimraf dist",
"copy": "mkdir dist && cp -r public/* dist/",
"serve": "static -p 5000 --gzip --host-address 0.0.0.0 dist/",
"start": "npm run serve",
"prestart": "npm run build",
"watch": "npm-run-all --parallel serve watch_app",
"watch_app": "watchify -dv -e ./app/app.js -o ./dist/app.js"
},
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/guillaumevincent/lesspass.git"
},
"keywords": [
"keepass",
"nodejs",
"node"
],
"author": "Guillaume Vincent",
"license": "MIT",
"bugs": {
"url": "https://github.com/guillaumevincent/lesspass/issues"
},
"homepage": "https://github.com/guillaumevincent/lesspass#readme",
"dependencies": {
"bootstrap": "^4.0.0-alpha.2",
"chardinjs": "git://github.com/heelhook/chardin.js.git",
"clipboard": "^1.5.5",
"font-awesome": "^4.5.0",
"jquery": "^2.1.4"
},
"jshintConfig": {
"esnext": true
},
"devDependencies": {
"babel-core": "^6.3.15",
"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"
]
}
]
]
}
}

Loading…
Cancel
Save