Skip to content
This repository was archived by the owner on Feb 2, 2018. It is now read-only.

Commit 73ed464

Browse files
committed
Revert project structure changes as discussed in #7
Will remove `package.json` once #8 has landed.
1 parent b88e3b1 commit 73ed464

File tree

10 files changed

+15
-28
lines changed

10 files changed

+15
-28
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,15 @@
1010
"build": "npm run build:lib && npm run build:lib6",
1111
"build:lib": "tsc --target es2017 --outDir dist",
1212
"build:lib6": "tsc --target es2015 --outDir dist6",
13+
"build:watch": "tsc --watch",
1314
"clean": "rm -rf dist dist6",
1415
"lint": "tslint -c tslint.full.json --project tsconfig.json --type-check",
1516
"lint:fix": "npm run lint -- --fix",
1617
"prepublish": "npm run build",
1718
"pretest": "npm run clean && npm run build",
1819
"test": "mocha",
1920
"posttest": "npm run lint",
20-
"vscode-test": "mocha && npm run lint"
21+
"test:dev": "mocha && npm run lint"
2122
},
2223
"repository": {
2324
"type": "git",
@@ -41,7 +42,6 @@
4142
"@loopback/testlab": "^4.0.0-alpha.7",
4243
"@types/mocha": "^2.2.43",
4344
"mocha": "^3.5.3",
44-
"ts-node": "^3.3.0",
4545
"tslint": "^5.7.0",
4646
"typescript": "^2.5.2"
4747
}

src/controllers/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Controllers
2+
3+
This directory contains source files for the controllers exported by this extension.

src/decorator-txIdFromHeader/index.ts

Lines changed: 0 additions & 6 deletions
This file was deleted.

src/decorator-txIdFromHeader/decorators/README.md renamed to src/decorators/README.md

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -26,20 +26,3 @@ You can check out the following resource to learn more about decorators and how
2626

2727
- [TypeScript Handbook: Decorators](https://www.typescriptlang.org/docs/handbook/decorators.html)
2828
- [Decorators in LoopBack](http://loopback.io/doc/en/lb4/Decorators.html)
29-
30-
## Contributions
31-
32-
- [Guidelines](http://loopback.io/doc/en/contrib/index.html)
33-
- [Join the team](https://github.com/strongloop/loopback-next/issues/110)
34-
35-
## Tests
36-
37-
Run `npm test` from the root folder.
38-
39-
## Contributors
40-
41-
See [all contributors](https://github.com/strongloop/loopback-next-extension-starter/graphs/contributors).
42-
43-
## License
44-
45-
MIT

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
// This file is licensed under the MIT License.
44
// License text available at https://opensource.org/licenses/MIT
55

6-
export * from './decorator-txIdFromHeader';
6+
export * from './decorators/txIdFromHeader.decorator';

src/providers/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Providers
2+
3+
This directory contains providers contributing additional bindings, for example
4+
custom sequence actions.

src/repositories/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Repositories
2+
3+
This directory contains code for repositories provided by this extension.

test/mocha.opts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
--compilers ts:ts-node/register
21
--recursive
32
--reporter dot
3+
dist/test

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"lib": ["es2017", "dom"],
1010
"module": "commonjs",
1111
"moduleResolution": "node",
12-
"target": "es6",
12+
"target": "es2017",
1313
"outDir": "dist",
1414
"sourceMap": true,
1515
"declaration": true

0 commit comments

Comments
 (0)