Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Converts project to TypeScript #449

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ docs
Icon
node_modules
npm-debug.log
out
out-tmp
types
types-tmp
/.eslintrc
/.eslintignore
/.prettierrc.yml
Expand Down
34 changes: 33 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 7 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,11 @@
"node": ">= 12.0"
},
"scripts": {
"build": "webpack --config webpack.config.babel.js",
"build": "npm run build:typescript && npm run build:webpack",
"build:webpack": "webpack --config webpack.config.babel.js",
"build:typescript": "npm run build:typescript:pre && tsc && npm run build:typescript:post",
"build:typescript:pre": "rm -rf out out-tmp types types-tmp",
"build:typescript:post": "mv out-tmp/src out && mv types-tmp/src types && rm -rf out-tmp types-tmp",
"clean": "rm -rf ./dist ./nyc_output ./node_modules/.cache ./coverage",
"coverage": "cross-env NODE_ENV=test nyc npm run test",
"docs": "./node_modules/.bin/jsdoc src/models src/services src/errors src/utils -d docs",
Expand Down Expand Up @@ -55,6 +59,8 @@
"@pollyjs/adapter-node-http": "^6.0.5",
"@pollyjs/core": "^6.0.5",
"@pollyjs/persister-fs": "^6.0.5",
"@types/superagent": "^8.1.7",
"@types/uuid": "^9.0.8",
"@typescript-eslint/eslint-plugin": "^5.59.5",
"@typescript-eslint/parser": "^5.59.5",
"audit-ci": "^6.6.1",
Expand Down
File renamed without changes.
Loading
Loading