Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ matrix:
language: node_js
node_js: "6"
jdk: oraclejdk8
script: cd demo && npm run build.plugin && npm i && tns build ios --env.uglify && cd ../demo-angular && npm run build.plugin && npm i && tns build ios --env.uglify --env.aot
script: cd src && npm run build.iosOnly && cd ../demo && npm i && tns build ios --env.uglify && cd ../demo-angular && npm i && tns build ios --env.uglify --env.aot
- language: android
os: linux
env:
- WebpackAndroid="26"
jdk: oraclejdk8
before_install: nvm install 6
script:
- cd demo && npm run build.plugin && cd ../src && tns plugin build && cd ../demo && npm i && tns build android --env.uglify --env.snapshot
- cd src && npm run build && cd ../demo && npm i && tns build android --env.uglify --env.snapshot
- cd ../demo-angular && npm i && tns build android --env.uglify --env.snapshot --env.aot
- language: android
env:
Expand Down
6 changes: 3 additions & 3 deletions demo-angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@
"scripts": {
"build.plugin": "cd ../src && npm run build",
"ci.tslint": "npm i && tslint --config '../tslint.json' 'app/**/*.ts' --exclude '**/node_modules/**'",
"ci.android.build": "npm run build.plugin && tns build android",
"ci.ios.build": "npm run build.plugin && tns build ios",
"ci.android.build": "cd ../src && npm run build && cd ../demo-angular && tns build android",
"ci.ios.build": "cd ../src && npm run build.iosOnly && cd ../demo-angular && tns build ios",
"generate-android-snapshot": "generate-android-snapshot --targetArchs arm,arm64,ia32 --install"
}
}
}
4 changes: 2 additions & 2 deletions demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
"scripts": {
"build.plugin": "cd ../src && npm run build",
"ci.tslint": "npm i && tslint --config '../tslint.json' 'app/**/*.ts' --exclude '**/node_modules/**'",
"ci.android.build": "npm run build.plugin && tns build android",
"ci.ios.build": "npm run build.plugin && tns build ios",
"ci.android.build": "cd ../src && npm run build && cd ../demo && tns build android",
"ci.ios.build": "cd ../src && npm run build.iosOnly && cd ../demo && tns build ios",
"generate-android-snapshot": "generate-android-snapshot --targetArchs arm,arm64,ia32 --install",
"e2e": "tsc -p e2e && mocha --opts ./e2e/config/mocha.opts",
"compile-tests": "tsc -p e2e --watch"
Expand Down
3 changes: 2 additions & 1 deletion src/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"scripts": {
"tsc": "tsc -skipLibCheck",
"ngc": "node --max-old-space-size=8192 ./node_modules/.bin/ngc",
"build": "npm i && tsc && npm run ngc",
"build": "npm i && tsc && tns plugin build && npm run ngc",
"build.iosOnly": "npm i && tsc && npm run ngc",
"ci.tslint": "npm i && tslint '**/*.ts' --config '../tslint.json' --exclude '**/node_modules/**'",
"prepublishOnly": "npm run build",
"plugin.link": "npm link && cd ../demo-angular && npm link nativescript-camera",
Expand Down