Skip to content

Commit

Permalink
configure build & publish
Browse files Browse the repository at this point in the history
  • Loading branch information
RB-Lab committed Nov 15, 2021
1 parent cd6b82c commit 518889f
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 9 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
coverage
lib
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ node_modules
config/config.json
coverage
.nyc_output
lib
3 changes: 3 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
package-lock.json
src
tsconfig.json
jest.config.js
coverage
node_modules
.travis.yml
Expand Down
6 changes: 0 additions & 6 deletions .prettierrc

This file was deleted.

File renamed without changes.
13 changes: 10 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,23 @@
"bot",
"test"
],
"main": "index.js",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"files": [
"lib/**/*",
"CHANGELOG.MD"
],
"scripts": {
"start": "DEBUG=TelegramServer:* node --use_strict ./bin/start",
"test": "jest",
"test:debug": "DEBUG=TelegramServer:* jest --runInBand",
"lint": "eslint src",
"lint-fix": "eslint --fix src",
"build": "tsc",
"prepare": "npm run build",
"coverage": "jest --coverage --coverageReporters=\"text\"",
"coverage-report": "jest --coverage",
"prepublishOnly": "npm run coverage-report && npm run lint",
"prepublishOnly": "npm run ts-check && npm run coverage-report && npm run lint",
"ts-check": "tsc --noEmit"
},
"repository": {
Expand Down Expand Up @@ -92,7 +99,7 @@
}
},
"lint-staged": {
"*.js": [
"*.ts": [
"eslint",
"git add"
]
Expand Down

0 comments on commit 518889f

Please sign in to comment.