Skip to content

Commit

Permalink
Test that the types are valid
Browse files Browse the repository at this point in the history
This is based on the fix in
#368.
  • Loading branch information
remcohaszing authored and marcbachmann committed Mar 27, 2023
1 parent ac59d30 commit f2a65f6
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
20 changes: 20 additions & 0 deletions package-lock.json

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

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@
"main": "src/index.js",
"scripts": {
"clean": "rimraf dist",
"test": "mocha && npm run test:bundlesize",
"test": "mocha && npm run test:bundlesize && npm run test:types",
"test:bundlesize": "npm run clean && npm run build:umd:min && bundlesize",
"test:coverage": "nyc --reporter=html --reporter=text-summary mocha",
"test:types": "tsc --project types",
"lint": "eslint src test",
"build:umd": "webpack --mode development ./src/index.js --output-path ./dist",
"build:umd:min": "webpack --mode production ./src/index.js --output-path ./dist",
Expand Down Expand Up @@ -48,6 +49,7 @@
"mocha": "^10.0.0",
"nyc": "^15.1.0",
"rimraf": "^3.0.2",
"typescript": "^5.0.2",
"webpack": "^5.72.1",
"webpack-bundle-analyzer": "^4.5.0",
"webpack-cli": "^4.9.2"
Expand Down

0 comments on commit f2a65f6

Please sign in to comment.