Skip to content

Instantly share code, notes, and snippets.

@lukashlobil
Last active June 26, 2017 11:32
Show Gist options
  • Save lukashlobil/c0453096364bcc1f644fa89bdfa7b7e0 to your computer and use it in GitHub Desktop.
Save lukashlobil/c0453096364bcc1f644fa89bdfa7b7e0 to your computer and use it in GitHub Desktop.
webpack config
{
"private": true,
"version": "0.1.4",
"nativescript": {
"id": "..."
"tns-ios": {
"version": "3.0.1"
},
"tns-android": {
"version": "3.0.1"
}
},
"scripts": {
"clean": "rm -rf platforms node_modules lib hooks && npm i",
"ns-bundle": "ns-bundle",
"publish-ios-bundle": "npm run ns-bundle --ios --publish-app",
"start-android-bundle": "npm run ns-bundle --android --run-app",
"start-ios-bundle": "npm run ns-bundle --ios --run-app",
"build-android-bundle": "npm run ns-bundle --android --build-app",
"build-ios-bundle": "npm run ns-bundle --ios --build-app"
},
"dependencies": {
"@angular/common": "~4.1.0",
"@angular/compiler": "~4.1.0",
"@angular/core": "~4.1.0",
"@angular/forms": "~4.1.0",
"@angular/http": "~4.1.0",
"@angular/platform-browser": "~4.1.0",
"@angular/platform-browser-dynamic": "~4.1.0",
"@angular/router": "~4.1.0",
"lodash": "^4.16.4",
"moment": "2.15.0",
"nativescript-angular": "3.0.0",
"nativescript-calendar": "^1.2.0",
"nativescript-camera": "0.0.8",
"nativescript-drop-down": "^1.3.2",
"nativescript-geolocation": "0.0.17",
"nativescript-google-maps-sdk": "2.2.1",
"nativescript-loading-indicator": "^2.3.1",
"nativescript-local-notifications": "^1.2.1",
"nativescript-localstorage": "github:lukashlobil/nativescript-localstorage",
"nativescript-ngx-fonticon": "2.2.0",
"nativescript-orientation": "^1.6.1",
"nativescript-permissions": "1.2.2",
"nativescript-phone": "1.3.0",
"nativescript-plugin-firebase": "3.11.4",
"nativescript-slides": "2.2.2",
"nativescript-telerik-ui": "2.0.1",
"nativescript-theme-core": "1.0.2",
"nativescript-toasts": "1.0.2",
"nativescript-zip": "1.3.1",
"reflect-metadata": "0.1.10",
"rxjs": "5.3.1",
"tns-core-modules": "^3.0.1",
"zone.js": "~0.8.10"
},
"devDependencies": {
"@angular/compiler-cli": "~4.1.0",
"@types/lodash": "4.14.40",
"@ngtools/webpack": "~1.4.0",
"babel-traverse": "6.25.0",
"babel-types": "6.25.0",
"babylon": "6.17.4",
"copy-webpack-plugin": "~4.0.1",
"extract-text-webpack-plugin": "~2.1.0",
"lazy": "1.0.11",
"nativescript-css-loader": "~0.26.0",
"nativescript-dev-typescript": "~0.4.2",
"nativescript-dev-webpack": "^0.6.3",
"raw-loader": "~0.5.1",
"resolve-url-loader": "~2.0.2",
"shelljs": "^0.7.0",
"tslint": "^4.5.1",
"typescript": "~2.2.1",
"webpack": "~2.6.1",
"webpack-sources": "~1.0.1"
}
}
{
"extend": "./tsconfig",
"extends": "./tsconfig",
"compilerOptions": {
"target": "es5",
"module": "es2015",
"moduleResolution": "node",
"sourceMap": false,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"removeComments": true,
"noImplicitAny": false,
"suppressImplicitAnyIndexErrors": true,
"types": [],
"baseUrl": ".",
"paths": {
"ui/*": ["node_modules/tns-core-modules/ui/*"],
"platform": ["node_modules/tns-core-modules/platform"],
"image-source": ["node_modules/tns-core-modules/image-source"],
"xml": ["node_modules/tns-core-modules/xml"],
"xhr": ["node_modules/tns-core-modules/xhr"],
"text": ["node_modules/tns-core-modules/text"],
"data": ["node_modules/tns-core-modules/data"],
"fetch": ["node_modules/tns-core-modules/fetch"],
"trace": ["node_modules/tns-core-modules/trace"],
"fps-meter": ["node_modules/tns-core-modules/fps-meter"],
"color": ["node_modules/tns-core-modules/color"],
"application-settings": ["node_modules/tns-core-modules/application-settings"],
"http": ["node_modules/tns-core-modules/http"],
"camera": ["node_modules/tns-core-modules/camera"],
"console": ["node_modules/tns-core-modules/console"],
"timer": ["node_modules/tns-core-modules/timer"],
"utils": ["node_modules/tns-core-modules/utils"],
"location": ["node_modules/tns-core-modules/location"],
"file-system": ["node_modules/tns-core-modules/file-system"],
"application": ["node_modules/tns-core-modules/application"],
"image-asset": ["node_modules/tns-core-modules/image-asset"],
"connectivity": ["node_modules/tns-core-modules/connectivity"],
"globals": ["node_modules/tns-core-modules/globals"],
"nativescript-geolocation": ["node_modules/nativescript-geolocation"]
}
},
"exclude": [
"node_modules",
"platforms"
],
"angularCompilerOptions": {
"skipMetadataEmit": true,
"genDir": "./"
}
}
{
"compilerOptions": {
"module": "commonjs",
"target": "es5",
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"lib": [
"es2016",
"dom",
"es6",
"es2015.iterable"
],
"baseUrl": ".",
"paths": {
"*": [
"./node_modules/tns-core-modules/*",
"./node_modules/*"
]
}
},
"exclude": [
"node_modules",
"platforms",
"**/*.aot.ts"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment