Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

[RAINCATCH-1323] TypeScript-specific start script #151

Merged
merged 4 commits into from
Oct 17, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,10 @@ See the example on [examples/js]() for more information also for reusing the uni

- `npm run test` - run unit tests
- `npm run bootstrap` - perform boostrap for all modules
- `npm run start` - run top level applications
- `npm run lint` - execute tslint for all modules
- `npm run build` - execute the build command for all modules, compiling TypeScript sources to JavaScript
- `npm run start:ts` - run top level applications from the TypeScript sources
- `npm run start` - run top level applications from the compile JavaScript, you must run `npm run build` before this command
- `npm run lint` - execute tslint for all modules
- `npm run cleanInstall` - perform install without executing additional scripts

#### Publishing
Expand Down
1 change: 0 additions & 1 deletion client/datasync-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
"scripts": {
"clean": "del src/**/*.js src/**/*.map test/**/*.js test/**/*.map",
"build": "tsc",
"start": "ts-node src/index.ts",
"test": "nyc mocha"
},
"nyc": {
Expand Down
1 change: 0 additions & 1 deletion client/wfm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
"scripts": {
"clean": "del src/*.js src/*.map src/**/*.js src/**/*.map test/*.js test/*.map test/**/*.js test/**/*.map",
"build": "tsc",
"start": "ts-node src/index.ts",
"test": "nyc mocha",
"debug": "node --inspect-brk ./node_modules/.bin/_mocha",
"debug-legacy": "node --debug-brk ./node_modules/.bin/_mocha"
Expand Down
1 change: 0 additions & 1 deletion cloud/auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
"scripts": {
"clean": "del src/*.js src/**/*.js src/*.map src/**/*.map test/*.js test/**/*.js test/*.map test/**/*.map",
"build": "tsc",
"start": "ts-node src/index.ts",
"test": "npm run clean && nyc mocha",
"example": "ts-node ./example/index.ts"
},
Expand Down
1 change: 0 additions & 1 deletion cloud/passportauth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
"scripts": {
"clean": "del src/*.js src/**/*.js src/*.map src/**/*.map test/*.js test/**/*.js test/*.map test/**/*.map",
"build": "tsc",
"start": "ts-node src/index.ts",
"test": "npm run clean && nyc mocha",
"example": "ts-node ./example/index.ts"
},
Expand Down
3 changes: 1 addition & 2 deletions cloud/wfm-demo-data/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
"main": "src/",
"scripts": {
"clean": "del coverage_report src/**/*.js src/**/*.map test/**/*.js test/**/*.map",
"build": "tsc",
"start": "ts-node src/index.ts"
"build": "tsc"
},
"nyc": {
"include": [
Expand Down
1 change: 0 additions & 1 deletion cloud/wfm-rest-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
"scripts": {
"clean": "del coverage_report src/*.js src/*.map src/**/*.js src/**/*.map test/**/*.js test/**/*.map",
"build": "tsc",
"start": "ts-node src/index.ts",
"test": "npm run clean && nyc mocha"
},
"nyc": {
Expand Down
1 change: 0 additions & 1 deletion cloud/wfm-user/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
"scripts": {
"clean": "del coverage_report src/**/*.js src/**/*.map test/**/*.js test/**/*.map",
"build": "tsc",
"start": "ts-node src/index.ts",
"test": "npm run clean && nyc mocha"
},
"nyc": {
Expand Down
1 change: 0 additions & 1 deletion common/logger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
"scripts": {
"clean": "del src/**/*.js src/**/*.map test/**/*.js test/**/*.map",
"build": "tsc",
"start": "ts-node src/index.ts",
"test": "npm run clean && nyc mocha",
"example": "ts-node example/index.ts"
},
Expand Down
3 changes: 2 additions & 1 deletion demo/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"scripts": {
"clean": "del coverage_report src/*.js src/**/*.js src/**/**/*.js src/*.map src/**/*.map src/**/**/*.map test/**/*.js test/**/*.map",
"build": "tsc",
"start": "ts-node src/index.ts",
"start": "node src/index.js",
"start:ts": "ts-node src/index.ts",
"startDebug": "ts-node --inspect --debug-brk src/index.ts",
"watch": "nodemon",
"test": "nyc mocha"
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"cleanInstall": "lerna exec npm install --ignore-scripts",
"bootstrap": "lerna bootstrap",
"start": "lerna run start --parallel --stream --scope=@raincatcher/demo-*",
"start:ts": "lerna run start:ts --parallel --stream --scope=@raincatcher/demo-*",
"docs": "./scripts/docgen.sh",
"lint": "tslint '*/*/src/**/*.ts' '*/*/test/**/*.ts'",
"build": "lerna run build",
Expand Down
1 change: 0 additions & 1 deletion templates/base/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
"scripts": {
"clean": "del coverage_report src/**/*.js src/**/*.map test/**/*.js test/**/*.map",
"build": "tsc",
"start": "ts-node src/index.ts",
"test": "npm run clean && nyc mocha"
},
"nyc": {
Expand Down