Skip to content

Commit 4a1354d

Browse files
committed
fix windows build
1 parent 1440856 commit 4a1354d

File tree

4 files changed

+9
-13
lines changed

4 files changed

+9
-13
lines changed

demo-ng/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@
4545
"extract-text-webpack-plugin": "~3.0.0",
4646
"lazy": "1.0.11",
4747
"nativescript-css-loader": "~0.26.0",
48-
"nativescript-dev-android-snapshot": "^0.*.*",
4948
"nativescript-dev-sass": "^1.3.2",
5049
"nativescript-dev-typescript": "0.4.2",
5150
"nativescript-dev-webpack": "^0.8.0",
@@ -57,4 +56,4 @@
5756
"webpack-bundle-analyzer": "^2.8.2",
5857
"webpack-sources": "~1.0.1"
5958
}
60-
}
59+
}

demo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@
4343
"webpack-bundle-analyzer": "^2.8.2",
4444
"webpack-sources": "~1.0.1"
4545
}
46-
}
46+
}

gruntfile.js

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,9 @@
4848
}
4949
},
5050
exec: {
51-
tsCompile: {
52-
cmd: "node ./node_modules/typescript/bin/tsc --project tsconfig.json --outDir " + localConfig.outDir
53-
},
54-
ngCompile: {
55-
cmd: "node ./node_modules/.bin/ngc --project tsconfig.aot.json --outDir " + localConfig.outDir
56-
},
57-
tslint: {
58-
cmd: "node ./node_modules/tslint/bin/tslint --project tsconfig.json --type-check"
59-
},
51+
tsCompile: "npm run tsc -- --outDir " + localConfig.outDir,
52+
ngCompile: "npm run ngc -- --outDir " + localConfig.outDir,
53+
tslint: "npm run tslint",
6054
checkRequiredReadmeSection: {
6155
cwd: "bin/dist",
6256
cmd: function (section) {

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nativescript-grid-view",
3-
"version": "3.2.1",
3+
"version": "3.2.2",
44
"description": "A NativeScript GridView widget.",
55
"main": "grid-view",
66
"typings": "grid-view.d.ts",
@@ -21,6 +21,9 @@
2121
"url": "https://github.com/PeterStaev/NativeScript-Grid-View"
2222
},
2323
"scripts": {
24+
"tslint": "tslint --project tsconfig.json",
25+
"tsc": "tsc --project tsconfig.json",
26+
"ngc": "ngc --project tsconfig.aot.json",
2427
"demo-ios": "grunt build && cd demo && tns run ios",
2528
"demo-android": "grunt build && cd demo && tns run android",
2629
"demo-ng-ios": "grunt build && cd demo-ng && tns run ios",

0 commit comments

Comments
 (0)