-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
37 lines (37 loc) · 1.5 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{
"name": "pouchdb-fauxton",
"private": true,
"version": "0.1.0",
"description": "Runs Fauxton on top of PouchDB",
"main": "index.js",
"keywords": [
"pouchdb",
"fauxton",
"offline",
"xhr",
"interface"
],
"license": "Apache-2.0",
"dependencies": {
"pouchdb": "^3.2.1",
"lie": "^2.6.0",
"pouchdb-all-dbs": "^1.0.1",
"random-uuid-v4": "^0.0.4",
"pouchdb-route": "^1.0.2"
},
"devDependencies": {
"brfs": "^1.3.0",
"browserify": "^6.1.0",
"mocha": "^2.1.0"
},
"scripts": {
"build-debug": "./node_modules/.bin/browserify lib/index.js -o fauxton/js/pouchdb-offline.js",
"build": "npm run build-debug && uglifyjs fauxton/js/pouchdb-offline.js -o fauxton/js/pouchdb-offline.js",
"build-injected": "mkdir -p dist && ./node_modules/.bin/browserify lib/index-injected.js -o dist/injected.js",
"build-postmessagerpc": "./node_modules/.bin/browserify lib/postmessagerpc.js --standalone PostMessageRPC -o dist/postmessagerpc.js",
"build-firefox": "./node_modules/.bin/browserify lib/index-firefox-addon.js -o fauxton/js/pouchdb-offline.js && npm run build-injected",
"build-chrome": "./node_modules/.bin/browserify lib/index-chrome-extension.js -o fauxton/js/pouchdb-offline.js && npm run build-injected && npm run build-postmessagerpc",
"build-pouchdb-plugin": "npm run build-debug && ./node_modules/.bin/browserify lib/index-pouchdb-plugin.js -t brfs -s PouchDBFauxton -o dist/pouchdb-plugin.js",
"test": "./node_modules/.bin/mocha"
}
}