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 @types
Browse files Browse the repository at this point in the history
  • Loading branch information
filipesilva committed Oct 6, 2016
1 parent 65ca680 commit a046ef7
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 22 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
11 changes: 7 additions & 4 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,7 +42,6 @@
"concurrently": "^3.0.0",
"lite-server": "^2.2.2",
"typescript": "^2.0.3",
"typings": "^1.4.0",

"canonical-path": "0.0.2",
"http-server": "^0.9.0",
Expand All @@ -58,7 +55,13 @@
"karma-jasmine": "^1.0.2",
"karma-jasmine-html-reporter": "^0.2.2",
"protractor": "^3.3.0",
"rimraf": "^2.5.4"
"rimraf": "^2.5.4",

"@types/core-js": "^0.9.34",
"@types/jasmine": "^2.5.35",
"@types/node": "^6.0.45",
"@types/protractor": "^1.5.20",
"@types/selenium-webdriver": "~2.44.26"
},
"repository": {}
}
9 changes: 0 additions & 9 deletions typings.json

This file was deleted.

0 comments on commit a046ef7

Please sign in to comment.