Skip to content

Commit

Permalink
put tsc output into dist/es5, not just dist/
Browse files Browse the repository at this point in the history
  • Loading branch information
imhoffd committed Sep 14, 2016
1 parent abf3335 commit efbd116
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"name": "ionic-native",
"version": "1.3.21",
"description": "Native plugin wrappers for Cordova and Ionic with TypeScript, ES6+, Promise and Observable support",
"main": "dist/index.js",
"main": "dist/es5/index.js",
"typings": "dist/es5/index.d.ts",
"module": "dist/esm/index.js",
"files": [
"dist"
Expand Down Expand Up @@ -54,7 +55,7 @@
"build": "npm run lint && npm run build:js && npm run build:esm && npm run build:bundle && npm run build:minify",
"build:js": "tsc",
"build:esm": "tsc -p tsconfig-esm.json",
"build:bundle": "browserify dist/index.js > dist/ionic.native.js",
"build:bundle": "browserify dist/es5/index.js > dist/ionic.native.js",
"build:minify": "gulp minify:dist",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
"plugin:create": "gulp plugin:create"
Expand All @@ -68,7 +69,6 @@
"url": "https://github.com/driftyco/ionic-native/issues"
},
"homepage": "https://github.com/driftyco/ionic-native",
"typings": "./dist/index.d.ts",
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"sourceMap": true,
"declaration": true,
"experimentalDecorators": true,
"outDir": "dist",
"outDir": "dist/es5",
"moduleResolution": "node"
},
"files": [
Expand Down

0 comments on commit efbd116

Please sign in to comment.