Skip to content

Commit

Permalink
chore: update tests-app-ng
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanWalker committed Sep 21, 2020
1 parent fa761ae commit 04e5dfc
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 47 deletions.
2 changes: 0 additions & 2 deletions e2e/animation-examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@
"scripts": {
"clean": "ns clean",
"setup": "cd ../../nativescript-angular && npm run prep.apps && cd ../e2e/animation-examples && npm run clean",
"ngcc": "ngcc --properties es2015 module main --first-only",
"postinstall": "npm run ngcc",
"u": "update-ns-webpack",
"e2e": "tsc -p e2e && mocha --opts ../config/mocha.opts --recursive e2e --appiumCapsLocation ../config/appium.capabilities.json",
"e2e-watch": "tsc -p e2e --watch",
Expand Down
9 changes: 0 additions & 9 deletions e2e/tests-app-ng/app/package.json

This file was deleted.

11 changes: 11 additions & 0 deletions e2e/tests-app-ng/nativescript.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import { NativeScriptConfig } from '@nativescript/core'

export default {
id: 'org.nativescript.testsappng',
appResourcesPath: 'app/App_Resources',
android: {
v8Flags: '--expose_gc',
markingMode: 'none',
},
appPath: 'app',
} as NativeScriptConfig
17 changes: 4 additions & 13 deletions e2e/tests-app-ng/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,6 @@
"license": "SEE LICENSE IN <your-license-filename>",
"readme": "NativeScript Application",
"repository": "<fill-your-repository-here>",
"nativescript": {
"id": "org.nativescript.testsappng",
"tns-ios": {
"version": "6.5.2"
},
"tns-android": {
"version": "6.5.3"
}
},
"dependencies": {
"@angular/animations": "~10.1.0",
"@angular/common": "~10.1.0",
Expand All @@ -30,27 +21,27 @@
},
"devDependencies": {
"@angular/compiler-cli": "~10.1.0",
"@nativescript/ios": "7.0.0",
"@nativescript/webpack": "~3.0.0",
"@ngtools/webpack": "~10.1.0",
"babel-traverse": "6.24.1",
"babel-types": "6.24.1",
"babylon": "6.17.0",
"codelyzer": "^5.1.0",
"filewalker": "^0.1.3",
"lazy": "1.0.11",
"@nativescript/webpack": "~3.0.0",
"typescript": "~3.9.0"
},
"scripts": {
"clean": "npx rimraf hooks node_modules platforms package-lock.json webpack.config.js && npm i",
"setup": "cd ../../nativescript-angular && npm run prep.apps && cd ../e2e/tests-app-ng && npm run clean",
"ngcc": "ngcc --properties es2015 module main --first-only",
"postinstall": "npm run ngcc",
"u": "update-ns-webpack",
"e2e": "tsc -p e2e && mocha --opts ../config/mocha.opts --recursive e2e --appiumCapsLocation ../config/appium.capabilities.json",
"e2e-watch": "tsc -p e2e --watch",
"ns-verify-bundle": "ns-verify-bundle",
"update-ns-webpack": "update-ns-webpack",
"ios": "tns debug ios --emulator --no-hmr",
"android": "tns debug android --emulator --no-hmr"
}
},
"main": "main.js"
}
47 changes: 24 additions & 23 deletions e2e/tests-app-ng/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,33 +1,34 @@
{
"compilerOptions": {
"module": "ESNext",
"target": "es2015",
"moduleResolution": "node",
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"noEmitHelpers": true,
"noEmitOnError": true,
"skipLibCheck": true,
"lib": [
"es2017",
"dom",
"es6"
],
"baseUrl": ".",
"paths": {
"~/*": [
"app/*"
]
}
"module": "esnext",
"target": "es2017",
"moduleResolution": "node",
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"noEmitHelpers": true,
"noEmitOnError": true,
"skipLibCheck": true,
"lib": [
"es2017",
"dom",
"es6"
],
"baseUrl": ".",
"paths": {
"~/*": [
"app/*"
]
},
"removeComments": false
},
"files": [
"./references.d.ts",
"./app/main.ts"
],
"exclude": [
"node_modules",
"platforms",
"**/*.aot",
"e2e"
"node_modules",
"platforms",
"**/*.aot",
"e2e"
]
}

0 comments on commit 04e5dfc

Please sign in to comment.