Skip to content

Commit

Permalink
change file name and config to suppress errors and warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Diluka committed Jan 22, 2019
1 parent e255120 commit c3fa69f
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 6 deletions.
1 change: 1 addition & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('./jest.config.json');
File renamed without changes.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@
"scripts": {
"docker:up": "docker-compose up -d",
"docker:down": "docker-compose down",
"test:e2e": "node_modules/.bin/jest --verbose --coverage --config ./jest.json",
"test:e2e": "jest --verbose --coverage",
"pretest:e2e": "npm run test:e2e:typeorm:prepare",
"posttest:e2e": "npm run test:e2e:typeorm:clean",
"test:e2e:typeorm:prepare": "cd integration/typeorm && npm run db:sync -- -f=e2e/orm && npm run db:flush -- -f=e2e/orm && npm run db:seeds -- -f=e2e/orm",
"test:e2e:typeorm:clean": "cd integration/typeorm && npm run db:flush -- -f=e2e/orm",
"coverage": "node_modules/.bin/jest --verbose --coverage --config ./jest.json --coverageReporters=text-lcov | coveralls",
"coverage": "jest --verbose --coverage --coverageReporters=text-lcov | coveralls",
"clean": "cd dist && rm -rf `ls | grep -v \"LICENSE\\|package.json\\|README.md\"`",
"clean:typeorm": "cd integration/typeorm/node_modules/@nestjsx/crud && rm -rf *",
"update:typeorm": "cp -a ./dist/. ./integration/typeorm/node_modules/@nestjsx/crud",
"reset:typeorm": "cd integration/typeorm && npm i @nestjsx/crud@next",
"build": "node_modules/.bin/tsc",
"build": "tsc -b tsconfig.build.json",
"prebuild": "npm run clean",
"postbuild": "npm run clean:typeorm && npm run update:typeorm"
},
Expand Down
4 changes: 4 additions & 0 deletions tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"extends": "./tsconfig.json",
"exclude": ["**/*.spec.ts"]
}
2 changes: 1 addition & 1 deletion tsconfig.jest.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "./tsconfig",
"extends": "./tsconfig.json",
"compilerOptions": {
"removeComments": false
}
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
"skipLibCheck": true
},
"include": ["src/**/*"],
"exclude": ["node_modules", "**/*.spec.ts"]
"exclude": ["node_modules"]
}
4 changes: 3 additions & 1 deletion tslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@
"variable-name": [false],
"one-line": [false],
"one-variable-per-declaration": [false],
"no-console": false
"no-console": false,
"prefer-for-of": false,
"no-string-literal": false
},
"rulesDirectory": []
}

0 comments on commit c3fa69f

Please sign in to comment.