Skip to content

Commit

Permalink
Merge pull request #1 from riderx/master
Browse files Browse the repository at this point in the history
feat: add types in package
  • Loading branch information
riderx authored Aug 18, 2021
2 parents 7ad324a + 872683c commit 4bdcfb6
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 4bdcfb6

Please sign in to comment.