Skip to content

Commit c23184c

Browse files
committed
Fix npm build to publish latest browser dists
1 parent 7cced09 commit c23184c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@fusionauth/typescript-client",
3-
"version": "1.16.0-RC.2",
3+
"version": "1.16.0-RC.1c",
44
"description": "A typescript implementation of the FusionAuth client.",
55
"main": "build/index.js",
66
"types": "build/index.d.ts",
@@ -22,7 +22,7 @@
2222
"build-browser": "mkdir -p dist && npx browserify index.ts --standalone FusionAuth --debug -p [ tsify --target=es5 ] -t browserify-shim -o dist/fusionauth-typescript-client.js",
2323
"build-browser-min": "mkdir -p dist && npx browserify index.ts --standalone FusionAuth --debug -p [ tsify --target=es5 ] -t browserify-shim -t uglifyify | npx uglifyjs --source-map base -o dist/fusionauth-typescript-client.min.js",
2424
"pretest": "npx tsc && npx tsc -p test && mkdir -p dist && npx browserify test/FusionAuthClientTest.ts --debug -t envify -p [ tsify --target=es5 -p test ] -t browserify-shim -t uglifyify | npx uglifyjs --source-map base -o dist/fusionauth-typescript-client-test.min.js",
25-
"prepare": "npx tsc"
25+
"prepare": "npx tsc && npm run build-browser && npm run build-browser-min"
2626
},
2727
"repository": {
2828
"type": "git",

0 commit comments

Comments
 (0)