Skip to content

Commit

Permalink
change lib folder to src folder
Browse files Browse the repository at this point in the history
  • Loading branch information
scallacs committed May 21, 2018
1 parent 4c5bf60 commit 604f9a7
Show file tree
Hide file tree
Showing 7 changed files with 37 additions and 12 deletions.
27 changes: 26 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,28 @@
npm-debug
*.log
output
gen
.nyc_output
built
doc
Gulpfile.ts
internal
jenkins.sh
lib/README.md
lib/enu
netci.groovy
scripts
src
lib
tests
test
tslint.json
.editorconfig
.gitattributes
.gitmodules
.settings/
.travis.yml
.circleci
.vscode/
package-lock.json
yarn.lock
.github/
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Typescript module seed
- **dist** : distribution folder (build folder)
- **gen**: contains generated files
- **coverage**: code coverage report
- **lib**: your source folder
- **src**: your source folder
- **test**: Test folder
- **testcase** contains testing file
- **bootstrap.ts** bootstrap file for tests
Expand Down
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@
"name": "@dfordev/typescript-node-module-seed",
"version": "0.0.1",
"description": "Seed repo for new node modules using Typescript",
"main": "dist/lib/index",
"typings": "dist/lib/index",
"main": "dist/src/index",
"typings": "dist/src/index",
"directories": {
"lib": "lib",
"test": "test"
},
"scripts": {
Expand All @@ -17,8 +16,9 @@
"show-coverage": "./node_modules/.bin/opn ./gen/coverage/index.html",
"show-test-report": "./node_modules/.bin/opn ./gen/test-report/mochawesome.html",
"report-coverage": "cat ./gen/coverage/lcov.info | coveralls",
"lint": "tslint \"lib/**/*.ts\"",
"clean": "rm -rf .nyc_ouput gen dist"
"lint": "tslint \"src/**/*.ts\"",
"clean-all": "./node_modules/.bin/rimraf .nyc_ouput gen dist",
"clean": "rm -rf gen/coverage gen/test-report"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -63,12 +63,12 @@
"nyc": {
"report-dir": "./gen/coverage",
"include": [
"lib/*.ts",
"lib/**/*.ts"
"src/*.ts",
"src/**/*.ts"
],
"exclude": [
"lib/*.spec.ts",
"lib/**/*.spec.ts",
"src/*.spec.ts",
"src/**/*.spec.ts",
"typings",
"test/typings.d.ts"
],
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion test/mocha.opts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--timeout 15000
--recursive lib/**/*.spec.ts
--recursive src/**/*.spec.ts
--require ts-node/register
--reporter mochawesome
--reporter-options reportDir=gen/test-report
Expand Down

0 comments on commit 604f9a7

Please sign in to comment.