Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Commit

Permalink
chore: update to ts2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
filipesilva committed Sep 14, 2016
1 parent d3a977e commit 45bcff5
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 14 deletions.
2 changes: 0 additions & 2 deletions .gitignore
@@ -1,5 +1,4 @@
.idea
typings/**
node_modules
jspm_packages
link-checker-results.txt
Expand All @@ -14,5 +13,4 @@ _temp
!karma*.js
!protractor*.js
!systemjs.config.js
!typings/typings.d.ts
!wallaby.js
2 changes: 1 addition & 1 deletion Dockerfile
Expand Up @@ -11,7 +11,7 @@ RUN mkdir -p /quickstart /home/nodejs && \
chown -R nodejs:nodejs /home/nodejs

WORKDIR /quickstart
COPY package.json typings.json /quickstart/
COPY package.json /quickstart/
RUN npm install --unsafe-perm=true

COPY . /quickstart
Expand Down
7 changes: 1 addition & 6 deletions README.md
Expand Up @@ -71,10 +71,6 @@ npm install
npm start
```

> If the `typings` folder doesn't show up after `npm install` please install them manually with:
> `npm run typings -- install`
The `npm start` command first compiles the application,
then simultaneously re-compiles and runs the `lite-server`.
Both the compiler and the server watch for file changes.
Expand All @@ -94,8 +90,7 @@ We've captured many of the most useful commands in npm scripts defined in the `p
[John Papa](https://github.com/johnpapa) and
[Christopher Martin](https://github.com/cgmartin)
with excellent support for Angular apps that use routing.
* `npm run typings` - runs the typings tool.
* `npm run postinstall` - called by *npm* automatically *after* it successfully completes package installation. This script installs the TypeScript definition files this app requires.

Here are the test related scripts:
* `npm test` - compiles, runs and watches the karma unit tests
* `npm run e2e` - run protractor e2e tests, written in JavaScript (*e2e-spec.js)
Expand Down
12 changes: 7 additions & 5 deletions package.json
Expand Up @@ -10,12 +10,10 @@
"e2e": "tsc && concurrently \"http-server -s\" \"protractor protractor.config.js\" --kill-others --success first",
"lint": "tslint ./app/**/*.ts -t verbose",
"lite": "lite-server",
"postinstall": "typings install",
"test": "tsc && concurrently \"tsc -w\" \"karma start karma.conf.js\"",
"test-once": "tsc && karma start karma.conf.js --single-run",
"tsc": "tsc",
"tsc:w": "tsc -w",
"typings": "typings",
"webdriver:update": "webdriver-manager update"
},
"keywords": [],
Expand Down Expand Up @@ -44,8 +42,7 @@
"devDependencies": {
"concurrently": "^2.2.0",
"lite-server": "^2.2.0",
"typescript": "^2.0.2",
"typings": "^1.0.4",
"typescript": "^2.0.0",

"canonical-path": "0.0.2",
"http-server": "^0.9.0",
Expand All @@ -58,7 +55,12 @@
"karma-htmlfile-reporter": "^0.2.2",
"karma-jasmine": "^0.3.8",
"protractor": "^3.3.0",
"rimraf": "^2.5.2"
"rimraf": "^2.5.2",

"@types/core-js": "^0.9.27-alpha",
"@types/jasmine": "^2.2.28-alpha",
"@types/node": "^4.0.28-alpha",
"@types/protractor": "^1.5.15-alpha"
},
"repository": {}
}

0 comments on commit 45bcff5

Please sign in to comment.