Преглед изворни кода

chore: moved from typings to @types type definitions

Sebastian Haas пре 8 година
родитељ
комит
dae5566fd3
2 измењених фајлова са 6 додато и 15 уклоњено
  1. 6 3
      package.json
  2. 0 12
      typings.json

+ 6 - 3
package.json

@@ -8,7 +8,7 @@
     "docs": "typedoc --mode file --out build/docs --module commonjs --target ES5 --name opensheetmusicdisplay ./src",
     "lint": "grunt lint",
     "test": "npm run lint && grunt test",
-    "postinstall": "grunt typings",
+    "postinstall": "rimraf typings",
     "prepublish": "grunt build:dist"
   },
   "pre-commit": [
@@ -54,6 +54,9 @@
     "vexflow": "^1.2.53"
   },
   "devDependencies": {
+    "@types/chai": "^3.4.35",
+    "@types/loglevel": "^1.4.29",
+    "@types/mocha": "^2.2.40",
     "browserify": "^14.0.0",
     "chai": "^3.5.0",
     "cz-conventional-changelog": "^2.0.0",
@@ -82,11 +85,11 @@
     "mocha": "^3.0.1",
     "phantomjs-prebuilt": "^2.1.8",
     "pre-commit": "^1.2.2",
+    "rimraf": "^2.6.1",
     "tsify": "^3.0.0",
     "tslint": "^5.0.0",
     "typedoc": "^0.5.7",
-    "typescript": "^2.2.1",
-    "typings": "^2.0.0"
+    "typescript": "^2.2.1"
   },
   "config": {
     "commitizen": {

+ 0 - 12
typings.json

@@ -1,12 +0,0 @@
-{
-  "globalDependencies": {
-    "chai": "registry:dt/chai#3.4.0+20160317120654",
-    "loglevel": "registry:dt/loglevel#1.4.0+20160412141402",
-    "mocha": "registry:dt/mocha#2.2.5+20160317120654",
-    "shortid": "registry:dt/shortid#0.0.0+20160316155526"
-  },
-  "dependencies": {
-    "es6-promise": "registry:npm/es6-promise#3.0.0+20160211003958",
-    "jszip": "github:sebastianhaas/typed-jszip"
-  }
-}