You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ro...@apache.org on 2016/09/05 00:24:09 UTC

[2/6] fauxton commit: updated refs/heads/fix-deps to e35eacf

cleanup package.json

- remove invalid / unused parts
- put scripts section to top so people opening it in an editor
  can see possible scripts immediately


Project: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/commit/53caf707
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/tree/53caf707
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/diff/53caf707

Branch: refs/heads/fix-deps
Commit: 53caf707e47f44b147ee2ca8a1a460b5ff228b5a
Parents: 85a9f2e
Author: Robert Kowalski <ro...@apache.org>
Authored: Mon Sep 5 00:50:45 2016 +0200
Committer: Robert Kowalski <ro...@apache.org>
Committed: Mon Sep 5 00:50:47 2016 +0200

----------------------------------------------------------------------
 package.json | 65 ++++++++++++++++++++++---------------------------------
 1 file changed, 26 insertions(+), 39 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/53caf707/package.json
----------------------------------------------------------------------
diff --git a/package.json b/package.json
index 50f4eae..03d45d3 100644
--- a/package.json
+++ b/package.json
@@ -2,18 +2,32 @@
   "name": "fauxton",
   "version": "1.1.8",
   "description": "Fauxton is a modular CouchDB dashboard and Futon replacement.",
-  "main": "./index.js",
-  "directories": {
-    "test": "test"
-  },
-  "bin": {
-    "fauxton": "./bin/fauxton"
-  },
-  "babel": {
-    "presets": [
-      "es2015",
-      "react"
-    ]
+  "scripts": {
+    "stylecheck": "eslint --ext=js,jsx .",
+    "webpack:dev": "webpack --debug --progress --colors --config ./webpack.config.dev.js",
+    "webpack:test": "webpack --debug --progress --colors --config ./webpack.config.test.js",
+    "webpack:release": "webpack --debug --progress --colors --config ./webpack.config.release.js",
+    "test": "grunt test",
+    "phantomjs": "./node_modules/.bin/mocha-phantomjs --debug=false --ssl-protocol=sslv2 --web-security=false --ignore-ssl-errors=true ./test/runner.html",
+    "couchdebug": "grunt couchdebug",
+    "couchdb": "grunt couchdb",
+    "couchapp": "grunt couchapp_deploy",
+    "dev": "node ./devserver.js",
+    "nightwatch": "grunt nightwatch",
+    "start": "node ./bin/fauxton",
+    "start-debug": "DIST=./dist/debug node ./bin/fauxton",
+    "preversion": "node version-check.js && grunt release",
+    "test-before-publish": "npm run preversion && npm install . -g",
+    "create:animaldb": "./bin/create-animal-db",
+    "docker:couchdb-up": "docker-compose -f ./docker/dc.selenium.yml up -d couchdb",
+    "docker:selenium-up": "docker-compose -f ./docker/dc.selenium.yml up -d selenium",
+    "docker:selenium-debug-up": "docker-compose -f ./docker/dc.selenium-debug.yml up -d selenium",
+    "docker:reset": "npm run docker:down && npm run docker:up",
+    "docker:logs": "docker logs couchdb",
+    "docker:up": "docker-compose -f ./docker/dc.selenium.yml up -d",
+    "docker:debug-up": "docker-compose -f ./docker/dc.selenium-debug.yml up -d",
+    "docker:down": "docker-compose -f ./docker/dc.selenium.yml down",
+    "remove-test-dbs": "node ./bin/remove-test-dbs.js"
   },
   "devDependencies": {
     "enzyme": "^2.4.1",
@@ -95,33 +109,6 @@
     "webpack-dev-server": "^1.14.1",
     "zeroclipboard": "^2.2.0"
   },
-  "scripts": {
-    "stylecheck": "eslint --ext=js,jsx .",
-    "webpack:dev": "webpack --debug --progress --colors --config ./webpack.config.dev.js",
-    "webpack:test": "webpack --debug --progress --colors --config ./webpack.config.test.js",
-    "webpack:release": "webpack --debug --progress --colors --config ./webpack.config.release.js",
-    "test": "grunt test",
-    "phantomjs": "./node_modules/.bin/mocha-phantomjs --debug=false --ssl-protocol=sslv2 --web-security=false --ignore-ssl-errors=true ./test/runner.html",
-    "couchdebug": "grunt couchdebug",
-    "couchdb": "grunt couchdb",
-    "couchapp": "grunt couchapp_deploy",
-    "dev": "node ./devserver.js",
-    "nightwatch": "grunt nightwatch",
-    "start": "node ./bin/fauxton",
-    "start-debug": "DIST=./dist/debug node ./bin/fauxton",
-    "preversion": "node version-check.js && grunt release",
-    "test-before-publish": "npm run preversion && npm install . -g",
-    "create:animaldb": "./bin/create-animal-db",
-    "docker:couchdb-up": "docker-compose -f ./docker/dc.selenium.yml up -d couchdb",
-    "docker:selenium-up": "docker-compose -f ./docker/dc.selenium.yml up -d selenium",
-    "docker:selenium-debug-up": "docker-compose -f ./docker/dc.selenium-debug.yml up -d selenium",
-    "docker:reset": "npm run docker:down && npm run docker:up",
-    "docker:logs": "docker logs couchdb",
-    "docker:up": "docker-compose -f ./docker/dc.selenium.yml up -d",
-    "docker:debug-up": "docker-compose -f ./docker/dc.selenium-debug.yml up -d",
-    "docker:down": "docker-compose -f ./docker/dc.selenium.yml down",
-    "remove-test-dbs": "node ./bin/remove-test-dbs.js"
-  },
   "repository": {
     "type": "git",
     "url": "https://git-wip-us.apache.org/repos/asf/couchdb-fauxton.git"