Skip to content

Commit

Permalink
fix(types): add types for es and lib folder
Browse files Browse the repository at this point in the history
  • Loading branch information
mg901 committed Mar 30, 2019
1 parent 0a48bbc commit f68c1df
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,12 @@
"module": "dist/es/index.js",
"scripts": {
"build": "npm run clean && npx rollup -c && npm run build:ts-types && npm run build:flow-types",
"build:ts-types": "cpx src/index.d.ts dist",
"build:flow-types": "cpx src/index.js.flow dist",
"build:ts-types": "npm run build:ts-types:cjs && npm run build:ts-types:es",
"build:flow-types": "npm run build:flow-types:cjs && npm run build:flow-types:es",
"build:ts-types:cjs": "cross-env cpx src/index.d.ts dist/lib",
"build:ts-types:es": "cross-env cpx src/index.d.ts dist/es",
"build:flow-types:cjs": "cross-env cpx src/index.js.flow dist/lib",
"build:flow-types:es": "cross-env cpx src/index.js.flow dist/es",
"clean": "cross-env rimraf dist",
"commit": "cross-env git-cz",
"coverage": "cross-env cat ./coverage/lcov.info | coveralls",
Expand Down

0 comments on commit f68c1df

Please sign in to comment.