Skip to content

Commit

Permalink
Update build process
Browse files Browse the repository at this point in the history
  • Loading branch information
ihadeed committed Nov 11, 2017
1 parent 6f66666 commit 5a6080d
Show file tree
Hide file tree
Showing 4 changed files with 99 additions and 94 deletions.
16 changes: 9 additions & 7 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
src
node_modules
.gitignore
.npmignore
tsconfig.json
.idea
aot
src
node_modules
.gitignore
.npmignore
tsconfig.json
.idea
aot
*.ngfactory.*
*.ngsummary.*
106 changes: 52 additions & 54 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 10 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"scripts": {
"ngc": "ngc",
"build": "rm -rf aot dist && ngc",
"postbuild": "npm run copy:scss",
"copy:scss": "cp src/components/super-tabs.scss dist/components/",
Expand All @@ -16,19 +17,19 @@
"license": "MIT",
"repository": "https://github.com/zyra/ionic2-super-tabs",
"devDependencies": {
"@angular/common": "5.0.0",
"@angular/compiler": "5.0.0",
"@angular/compiler-cli": "5.0.0",
"@angular/core": "5.0.0",
"@angular/forms": "5.0.0",
"@angular/http": "5.0.0",
"@angular/platform-browser": "5.0.0",
"@angular/platform-browser-dynamic": "5.0.0",
"@angular/common": "5.0.1",
"@angular/compiler": "5.0.1",
"@angular/compiler-cli": "5.0.1",
"@angular/core": "5.0.1",
"@angular/forms": "5.0.1",
"@angular/http": "5.0.1",
"@angular/platform-browser": "5.0.1",
"@angular/platform-browser-dynamic": "5.0.1",
"conventional-changelog-cli": "^1.3.4",
"ionic-angular": "3.9.2",
"ionicons": "3.0.0",
"rxjs": "5.5.2",
"typescript": "2.5.3",
"typescript": "2.4.2",
"zone.js": "0.8.18"
},
"peerDependencies": {
Expand Down
52 changes: 28 additions & 24 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,29 @@
{
"compilerOptions": {
"module": "es2015",
"target": "es5",
"moduleResolution": "node",
"sourceMap": true,
"inlineSources": true,
"declaration": true,
"noImplicitAny": false,
"experimentalDecorators": true,
"skipLibCheck": true,
"lib": [
"dom",
"es2015"
],
"outDir": "dist"
},
"exclude": [
"node_modules",
"dist"
],
"angularCompilerOptions": {
"genDir": "aot"
}
{
"compilerOptions": {
"module": "es2015",
"target": "es5",
"moduleResolution": "node",
"sourceMap": true,
"inlineSources": true,
"declaration": true,
"noImplicitAny": false,
"experimentalDecorators": true,
"skipLibCheck": true,
"lib": [
"dom",
"es2015"
],
"outDir": "dist",
"rootDir": "src"
},
"include": [
"src/**/*.ts"
],
"exclude": [
"node_modules"
],
"angularCompilerOptions": {
"genDir": "aot",
"debug": true
}
}

2 comments on commit 5a6080d

@SteveKennedy
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why was typescript version back versioned?

@ihadeed
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@SteveKennedy IIRC I just wanted to match Ionic base repo's version

Please sign in to comment.