|
11 | 11 | "do_tests": "TEST_DB=http://localhost:5984/testdb istanbul test ./node_modules/mocha/bin/_mocha test/test.js",
|
12 | 12 | "jshint": "jshint -c .jshintrc *.js test/test.js",
|
13 | 13 | "test": "npm run jshint && npm run do_tests",
|
14 |
| - "build": "mkdir -p dist && browserify index.js -s authentication -o dist/pouchdb-authentication.js", |
| 14 | + "build-js": "mkdir -p dist && browserify index.js -o dist/pouchdb.authentication.js", |
| 15 | + "min": "uglifyjs dist/pouchdb.authentication.js -mc > dist/pouchdb.authentication.min.js", |
| 16 | + "build": "npm run build-js && npm run min", |
15 | 17 | "dev": "browserify test/test.js > test/test-bundle.js && npm run dev-server",
|
16 | 18 | "dev-server": "./bin/dev-server.js"
|
17 | 19 | },
|
|
28 | 30 | "url": "https://github.com/pouchdb/authentication/issues"
|
29 | 31 | },
|
30 | 32 | "dependencies": {
|
31 |
| - "lie": "^2.5.3", |
32 |
| - "inherits": "~2.0.1", |
33 |
| - "http-proxy": "~0.10.3", |
34 |
| - "corsproxy": "~0.2.13", |
35 |
| - "http-server": "~0.5.5" |
| 33 | + "inherits": "~2.0.1" |
36 | 34 | },
|
37 | 35 | "devDependencies": {
|
| 36 | + "lie": "^2.5.3", |
38 | 37 | "bluebird": "^1.0.7",
|
39 |
| - "browserify": "~2.36.0", |
| 38 | + "browserify": "~3.44.1", |
40 | 39 | "chai": "~1.8.1",
|
41 | 40 | "chai-as-promised": "~4.1.0",
|
42 | 41 | "istanbul": "~0.1.45",
|
43 | 42 | "jshint": "~2.3.0",
|
44 | 43 | "mocha": "~1.14.0",
|
45 | 44 | "mocha-as-promised": "~2.0.0",
|
46 |
| - "pouchdb": "^2.0.0" |
| 45 | + "pouchdb": "^2.0.0", |
| 46 | + "watchify": "~0.7.2", |
| 47 | + "http-proxy": "~0.10.4", |
| 48 | + "corsproxy": "~0.2.14", |
| 49 | + "http-server": "~0.5.5", |
| 50 | + "uglify-js": "~2.4.13" |
47 | 51 | },
|
48 | 52 | "peerDependencies": {
|
49 | 53 | "pouchdb": ">= 2.0.0"
|
| 54 | + }, |
| 55 | + "browser": { |
| 56 | + "lie" : false |
50 | 57 | }
|
51 | 58 | }
|
0 commit comments