Skip to content

Commit

Permalink
Merge pull request #120 from kwonoj/pkg-esm
Browse files Browse the repository at this point in the history
build(package): update browser field
  • Loading branch information
kwonoj authored Oct 31, 2018
2 parents 84d882e + 4df8abc commit 0a43461
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 18 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
<a name="2.0.0-beta.4"></a>
# [2.0.0-beta.4](https://github.com/kwonoj/cld3-asm/compare/v2.0.0-beta.3...v2.0.0-beta.4) (2018-10-31)

- browser field update for esm build

<a name="2.0.0-beta.3"></a>
# [2.0.0-beta.3](https://github.com/kwonoj/cld3-asm/compare/v2.0.0-beta.2...v2.0.0-beta.3) (2018-10-24)

Expand Down
28 changes: 14 additions & 14 deletions package-lock.json

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

10 changes: 6 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
{
"name": "cld3-asm",
"version": "2.0.0-beta.3",
"version": "2.0.0-beta.4",
"description": "WebAssembly based Javascript bindings for google compact language detector 3",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/types/index.d.ts",
"browser": {
"./dist/cjs/lib/cld3_node.js": "./dist/cjs/lib/cld3_web.js",
"./dist/cjs/lib/cld3_node.wasm": "./dist/cjs/lib/cld3_web.wasm"
"./dist/cjs/lib/cld3_node.wasm": "./dist/cjs/lib/cld3_web.wasm",
"./dist/esm/lib/cld3_node.js": "./dist/esm/lib/cld3_web.js",
"./dist/esm/lib/cld3_node.wasm": "./dist/esm/lib/cld3_web.wasm"
},
"engines": {
"npm": ">=3.0.0",
Expand Down Expand Up @@ -60,7 +62,7 @@
"@commitlint/cli": "^7.2.1",
"@commitlint/config-angular": "^7.1.2",
"@types/chai": "^4.1.7",
"@types/jest": "^23.3.8",
"@types/jest": "^23.3.9",
"@types/lodash": "^4.14.117",
"@types/node": "^10.12.1",
"@types/shelljs": "^0.8.0",
Expand All @@ -72,7 +74,7 @@
"husky": "^1.1.2",
"jest": "^23.6.0",
"jest-spin-reporter": "^1.0.2",
"lint-staged": "^8.0.2",
"lint-staged": "^8.0.4",
"lodash": "^4.17.11",
"npm-run-all": "^4.1.3",
"prettier": "^1.14.3",
Expand Down

0 comments on commit 0a43461

Please sign in to comment.