Skip to content

Commit

Permalink
feat: add types in package
Browse files Browse the repository at this point in the history
  • Loading branch information
riderx authored Aug 18, 2021
1 parent c5e2917 commit 872683c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@
"version": "0.3.3",
"description": "Random data generator with localization",
"main": "dist/fakerator.js",
"types": "dist/fakerator.d.ts",
"directories": {
"test": "test"
},
"scripts": {
"prebuild": "npm run test",
"build": "webpack --config config/webpack.build.config.js",
"copytype": "cp fakerator.d.ts dist/fakerator.d.ts",
"build": "webpack --config config/webpack.build.config.js && npm run copytype",
"lint": "eslint --ext=.js lib test/specs",
"coverall": "cat ./test/coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
"coverage": "npm run test && npm run coverall",
Expand Down

0 comments on commit 872683c

Please sign in to comment.