Browse Source

clean up and update

Steven Silvester 7 years ago
parent
commit
e28f1861fd
4 changed files with 14 additions and 50 deletions
  1. 2 42
      package.json
  2. 4 4
      packages/all-packages/package.json
  3. 6 2
      scripts/package.json
  4. 2 2
      test/package.json

+ 2 - 42
package.json

@@ -20,7 +20,7 @@
     "coverage": "lerna run coverage --stream",
     "docs": "lerna run docs",
     "get:dependency": "node scripts/get-dependency.js",
-    "integrity": "node scripts/ensure-integrity.js",
+    "integrity": "node scripts/lib/ensure-integrity.js",
     "publish": "npm run clean:slate && lerna publish --force-publish=* -m \"Publish\"",
     "remove:dependency": "node scripts/lib/remove-dependency.js",
     "removesibling": "node scripts/lib/remove-sibling.js",
@@ -39,47 +39,7 @@
   },
   "dependencies": {},
   "devDependencies": {
-    "@types/ajv": "~1.0.0",
-    "@types/codemirror": "~0.0.46",
-    "@types/d3-dsv": "~1.0.30",
-    "@types/expect.js": "~0.3.29",
-    "@types/fs-extra": "~4.0.3",
-    "@types/glob": "~5.0.33",
-    "@types/marked": "~0.0.28",
-    "@types/mathjax": "~0.0.31",
-    "@types/minimist": "~1.2.0",
-    "@types/mocha": "~2.2.44",
-    "@types/node": "~8.0.47",
-    "@types/react": "~16.0.19",
-    "@types/react-dom": "~16.0.2",
-    "@types/sanitize-html": "~1.14.0",
-    "@types/text-encoding": "~0.0.30",
-    "@types/ws": "~0.0.39",
-    "expect.js": "~0.3.1",
-    "istanbul": "~0.3.22",
     "lerna": "^2.4.0",
-    "npm-run-all": "~4.1.1",
-    "read-package-json": "~2.0.12",
-    "mocha": "^3.2.0",
-    "read-package-json": "~2.0.12",
-    "requirejs": "^2.2.0",
-    "rimraf": "^2.5.2",
-    "text-encoding": "^0.5.2",
-    "typedoc": "^0.7.1",
-    "typescript": "~2.4.1",
-    "webpack": "^2.2.1",
-    "ws": "^1.1.1",
-    "xmlhttprequest": "^1.8.0",
-    "mocha": "~3.5.3",
-    "read-package-json": "~2.0.12",
-    "requirejs": "~2.3.5",
-    "rimraf": "~2.6.2",
-    "text-encoding": "~0.5.5",
-    "typedoc": "~0.7.2",
-    "typescript": "~2.4.2",
-    "webpack": "~2.7.0",
-    "ws": "~1.1.4",
-    "xmlhttprequest": "~1.8.0",
-    "lerna": "^2.4.0"
+    "npm-run-all": "~4.1.1"
   }
 }

+ 4 - 4
packages/all-packages/package.json

@@ -27,9 +27,9 @@
     "build": "tsc && node build.js",
     "clean": "rimraf lib",
     "docs": "typedoc --mode modules --module commonjs --excludeNotExported --target es5 --moduleResolution node --name JupyterLab --out ../../docs/api .",
-    "watch:tsc": "tsc -w",
+    "watch": "npm run clean && run-p watch:*",
     "watch:files": "node watch-files.js",
-    "watch": "npm run clean && run-p watch:*"
+    "watch:tsc": "tsc -w"
   },
   "dependencies": {
     "@jupyterlab/application": "^0.11.1",
@@ -89,7 +89,7 @@
     "npm-run-all": "~4.1.1",
     "rimraf": "~2.6.2",
     "typedoc": "~0.7.2",
-    "typescript": "~2.4.2"
-    "watch": "^1.0.2"
+    "typescript": "~2.4.2",
+    "watch": "~1.0.2"
   }
 }

+ 6 - 2
scripts/package.json

@@ -1,7 +1,7 @@
 {
   "name": "@jupyterlab/scripts",
-  "private": true,
   "version": "0.1.0",
+  "private": true,
   "description": "JupyterLab - Scripts",
   "license": "BSD-3-Clause",
   "author": "Project Jupyter",
@@ -11,9 +11,13 @@
     "watch": "tsc -w"
   },
   "dependencies": {
+    "child_process": "~1.0.2",
+    "fs": "~0.0.1-security",
     "fs-extra": "~4.0.2",
     "glob": "~7.1.2",
-    "sort-package-json": "~1.7.1"
+    "path": "~0.12.7",
+    "sort-package-json": "~1.7.1",
+    "typescript": "~2.4.2"
   },
   "devDependencies": {
     "@types/fs-extra": "~4.0.3",

+ 2 - 2
test/package.json

@@ -11,10 +11,10 @@
     "test:debug": "python run-test.py  --browsers=Chrome --singleRun=false --debug=true karma.conf.js",
     "test:firefox": "python run-test.py --browsers=Firefox karma.conf.js",
     "test:ie": "python run-test.py  --browsers=IE karma.conf.js",
-    "watch:webpack": "webpack --watch",
+    "watch": "npm run clean && tsc && run-p watch:*",
     "watch:test": "node watch-test.js",
     "watch:ts": "tsc -w",
-    "watch": "npm run clean && tsc && run-p watch:*"
+    "watch:webpack": "webpack --watch"
   },
   "dependencies": {
     "@jupyterlab/application": "^0.11.1",