Skip to content

Commit aa31486

Browse files
author
radeva
authored
Merge pull request #99 from NativeScript/radeva/comply-with-verified
Comply with verified plugin definition
2 parents b3b292b + b8292ff commit aa31486

File tree

209 files changed

+1594
-855
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

209 files changed

+1594
-855
lines changed

.gitignore

Lines changed: 32 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,33 @@
1-
# Output
2-
dist
3-
4-
# Dev dependencies
5-
node_modules
6-
7-
# Source, written in TypeScript so JavaScript is not necessary
8-
nativescript-imagepicker/**/*.js
9-
nativescript-imagepicker/**/*.js.map
10-
11-
# Example platforms
12-
/examples/ExampleImgPick/platforms/
13-
/examples/ExampleImgPick/lib/
14-
/examples/ExampleImgPickNG/platforms/
15-
/examples/ExampleImgPickNG/lib/
16-
/examples/ExampleImgPickNG/**/*.js
17-
/examples/ExampleImgPickNG/**/*.js.map
1+
.vscode
2+
.idea
183
.DS_Store
4+
*.js
5+
*.js.map
6+
*.log
7+
!src/scripts/*.js
8+
!seed-tests/*.js
9+
seed-tests/seed-copy/**/*.*
10+
seed-tests/seed-copy-new-git-repo/**/*.*
11+
demo/app/*.js
12+
!demo/karma.conf.js
13+
!demo/app/tests/*.js
14+
demo/*.d.ts
15+
!demo/references.d.ts
16+
demo/lib
17+
demo/platforms
18+
demo/node_modules
19+
demo-angular/app/*.js
20+
!demo-angular/karma.conf.js
21+
!demo-angular/app/tests/*.js
22+
demo-angular/*.d.ts
23+
!demo-angular/references.d.ts
24+
demo-angular/lib
25+
demo-angular/platforms
26+
demo-angular/node_modules
27+
node_modules
28+
publish/src
29+
publish/package
30+
demo/report/report.html
31+
demo/report/stats.json
32+
demo-angular/report/report.html
33+
demo-angular/report/stats.json

.travis.yml

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
matrix:
2+
include:
3+
- stage: "Lint"
4+
language: node_js
5+
os: linux
6+
node_js: "6"
7+
script: cd src && npm run ci.tslint && cd ../demo && npm run ci.tslint && cd ../demo-angular && npm run ci.tslint
8+
- stage: "WebPack"
9+
os: osx
10+
env:
11+
- Platform="iOS"
12+
osx_image: xcode8.3
13+
language: node_js
14+
node_js: "6"
15+
jdk: oraclejdk8
16+
script: cd demo && npm run build.plugin && npm i && npm run build-ios-bundle && cd ../demo-angular && npm run build.plugin && npm i && npm run build-ios-bundle
17+
- language: android
18+
os: linux
19+
env:
20+
- Platform="Android"
21+
jdk: oraclejdk8
22+
before_install: nvm install 6.10.3
23+
script: cd demo && npm run build.plugin && npm i && npm run build-android-bundle && cd ../demo-angular && npm run build.plugin && npm i && npm run build-android-bundle
24+
- stage: "Build"
25+
env:
26+
- Android="25"
27+
language: android
28+
os: linux
29+
jdk: oraclejdk8
30+
before_install: nvm install 6.10.3
31+
script: cd demo && npm run ci.android.build && cd ../demo-angular && npm run ci.android.build
32+
- os: osx
33+
env:
34+
- iOS="10.3"
35+
- Xcode="8.3"
36+
osx_image: xcode8.3
37+
language: node_js
38+
node_js: "6"
39+
jdk: oraclejdk8
40+
script: cd demo && npm run ci.ios.build && cd ../demo-angular && npm run ci.ios.build
41+
42+
android:
43+
components:
44+
- tools
45+
- platform-tools
46+
- build-tools-25.0.2
47+
- android-25
48+
- extra-android-m2repository
49+
50+
before_cache:
51+
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
52+
53+
cache:
54+
directories:
55+
- .nvm
56+
- $HOME/.gradle/caches/
57+
- $HOME/.gradle/wrapper/
58+
59+
install:
60+
- echo no | npm install -g nativescript
61+
- tns usage-reporting disable
62+
- tns error-reporting disable
63+
64+

README.md

Lines changed: 99 additions & 16 deletions
File renamed without changes.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
// Add your native dependencies here:
2+
3+
// Uncomment to add recyclerview-v7 dependency
4+
//dependencies {
5+
// compile 'com.android.support:recyclerview-v7:+'
6+
//}
7+
8+
android {
9+
defaultConfig {
10+
generatedDensities = []
11+
applicationId = "org.nativescript.imagepickerdemoangular"
12+
}
13+
aaptOptions {
14+
additionalParameters "--no-version-vectors"
15+
}
16+
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)