chore(typings): use typings instead of tsd
This commit is contained in:
parent
f57df3cf8a
commit
0b2bb1b6f5
@ -12,7 +12,7 @@
|
|||||||
"build_npm": "rm -rf dist && tsc -p tsconfig.publish.es5.json && tsc -p tsconfig.publish.es6.json",
|
"build_npm": "rm -rf dist && tsc -p tsconfig.publish.es5.json && tsc -p tsconfig.publish.es6.json",
|
||||||
"postbuild_npm": "cp package.json README.md dist/ && npm run rewrite_npm_package",
|
"postbuild_npm": "cp package.json README.md dist/ && npm run rewrite_npm_package",
|
||||||
"rewrite_npm_package": "node --harmony_destructuring tools/rewrite-published-package.js",
|
"rewrite_npm_package": "node --harmony_destructuring tools/rewrite-published-package.js",
|
||||||
"build_bundle": "cp -r src router && tsc typings/tsd.d.ts src/router.ts --rootDir . --module system -t es5 --outFile dist/bundles/router.js --moduleResolution node --emitDecoratorMetadata --experimentalDecorators"
|
"build_bundle": "cp -r src router && tsc typings/main.d.ts src/router.ts --rootDir . --module system -t es5 --outFile dist/bundles/router.js --moduleResolution node --emitDecoratorMetadata --experimentalDecorators"
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"angular2",
|
"angular2",
|
||||||
@ -65,4 +65,4 @@
|
|||||||
"zone.js": "^0.6.6"
|
"zone.js": "^0.6.6"
|
||||||
},
|
},
|
||||||
"typings": "dist/router.d.ts"
|
"typings": "dist/router.d.ts"
|
||||||
}
|
}
|
||||||
|
@ -15,6 +15,6 @@
|
|||||||
"files": [
|
"files": [
|
||||||
"src/router.ts",
|
"src/router.ts",
|
||||||
"test/router.spec.ts",
|
"test/router.spec.ts",
|
||||||
"typings/tsd"
|
"typings/main.d.ts"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -14,6 +14,6 @@
|
|||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"src/router.ts",
|
"src/router.ts",
|
||||||
"typings/tsd.d.ts"
|
"typings/main.d.ts"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -1,12 +0,0 @@
|
|||||||
{
|
|
||||||
"version": "v4",
|
|
||||||
"repo": "borisyankov/DefinitelyTyped",
|
|
||||||
"ref": "master",
|
|
||||||
"path": "typings",
|
|
||||||
"bundle": "typings/tsd.d.ts",
|
|
||||||
"installed": {
|
|
||||||
"jasmine/jasmine.d.ts": {
|
|
||||||
"commit": "e0abafb1a6ff652f7ff967120e312d5c1916eaef"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
8
modules/@angular/router/typings.json
Normal file
8
modules/@angular/router/typings.json
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"name": "vladivostok",
|
||||||
|
"version": false,
|
||||||
|
"dependencies": {},
|
||||||
|
"ambientDependencies": {
|
||||||
|
"jasmine": "registry:dt/jasmine#2.2.0+20160505161446"
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user