Skip to content
This repository was archived by the owner on Aug 15, 2019. It is now read-only.

Commit 3477299

Browse files
author
Nikhil Thorat
authored
update version, use unkpg, update publish npm script (#166)
1 parent 8dcc13b commit 3477299

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
{
22
"name": "deeplearn",
3-
"version": "0.2.4",
3+
"version": "0.2.6",
44
"description": "Hardware-accelerated JavaScript library for machine intelligence",
55
"private": false,
66
"main": "dist/src/index.js",
7+
"browser": "dist/deeplearn.js",
78
"types": "dist/src/index.d.ts",
89
"repository": {
910
"type": "git",

scripts/publish-npm.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
# =============================================================================
1616
npm run prep && \
1717
rm -rf dist/ && \
18+
./scripts/build-standalone.sh $1 && \
1819
node_modules/.bin/tsc && \
1920
npm publish
2021
echo 'Yay! Published a new package to npm.'

0 commit comments

Comments
 (0)