Skip to content

Commit

Permalink
fix(ts): use old ts version for 1.3.x #567
Browse files Browse the repository at this point in the history
  • Loading branch information
mlynch committed Sep 22, 2016
1 parent b6b0359 commit 6a19c8c
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 9 deletions.
15 changes: 6 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
{
"name": "ionic-native",
"version": "1.3.24",
"version": "1.3.25",
"description": "Native plugin wrappers for Cordova and Ionic with TypeScript, ES6+, Promise and Observable support",
"main": "dist/es5/index.js",
"typings": "dist/es5/index.d.ts",
"module": "dist/esm/index.js",
"main": "dist/index.js",
"files": [
"dist"
],
Expand Down Expand Up @@ -43,7 +41,7 @@
"tsify": "~1.0.4",
"tslint": "^3.8.1",
"tslint-ionic-rules": "0.0.5",
"typescript": "^2.0.2",
"typescript": "^1.8.10",
"watchify": "~3.7.0"
},
"scripts": {
Expand All @@ -52,10 +50,9 @@
"start": "npm run test:watch",
"lint": "gulp lint",
"watch": "tsc -w",
"build": "npm run lint && npm run build:js && npm run build:esm && npm run build:bundle && npm run build:minify",
"build:js": "tsc -p tsconfig-es5.json",
"build:esm": "tsc -p tsconfig-esm.json",
"build:bundle": "browserify dist/es5/index.js > dist/ionic.native.js",
"build": "npm run lint && npm run build:js && npm run build:bundle && npm run build:minify",
"build:js": "tsc",
"build:bundle": "browserify dist/index.js > dist/ionic.native.js",
"build:minify": "gulp minify:dist",
"shipit": "npm run build && npm publish && bash ./scripts/bower.sh",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
Expand Down
15 changes: 15 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"compilerOptions": {
"module": "commonjs",
"target": "ES5",
"sourceMap": true,
"declaration": true,
"experimentalDecorators": true,
"outDir": "dist",
"moduleResolution": "node"
},
"files": [
"typings/es6-shim/es6-shim.d.ts",
"src/index.ts"
]
}

0 comments on commit 6a19c8c

Please sign in to comment.