Skip to content

Commit

Permalink
fix: update exports
Browse files Browse the repository at this point in the history
  • Loading branch information
westeezy committed Nov 26, 2022
1 parent 8f367a9 commit 489ac51
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 0 additions & 4 deletions index.js

This file was deleted.

6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@
"name": "@krakenjs/universal-serialize",
"version": "2.0.0",
"description": "Javascript module template.",
"main": "index.js",
"main": "dist/universalSerialize.js",
"module": "dist/esm/index.js",
"types": "dist/esm/index.d.ts",
"sideEffects": false,
"scripts": {
"build": "npm run test && npm run babel && npm run webpack && npm run build:types",
"build:flow": "find ./dist -type f -not -path './node_modules/*' -name '*.d.ts' -exec sh -c 'flowgen --add-flow-header $1 -o ${1%.*.*}.js.flow' _ '{}' \\;",
"build:tsc": "tsc src/**/* --outDir ./dist/esm --declaration --emitDeclarationOnly --strict",
"build:tsc": "tsc src/*.ts --outDir ./dist/esm --declaration --emitDeclarationOnly --strict",
"build:types": "npm run build:tsc && npm run build:flow",
"webpack": "cross-env NODE_ENV=production babel-node --plugins=transform-es2015-modules-commonjs ./node_modules/.bin/webpack --progress",
"babel": "cross-env NODE_ENV=production babel src/ --out-dir ./dist/esm/ --extensions .ts,.tsx",
Expand Down

0 comments on commit 489ac51

Please sign in to comment.