Skip to content

Commit fb1b085

Browse files
authored
Merge pull request #467 from share/example-builds
🔨 Fix example script builds on Windows
2 parents 970acd6 + d7b4cd5 commit fb1b085

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

examples/counter-json1/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "A simple client/server app using ShareDB (ottype json1) and WebSockets",
55
"main": "server.js",
66
"scripts": {
7-
"build": "mkdir -p static/dist/ && ./node_modules/.bin/browserify client.js -o static/dist/bundle.js",
7+
"build": "browserify client.js -o static/dist/bundle.js",
88
"test": "echo \"Error: no test specified\" && exit 1",
99
"start": "node server.js"
1010
},

examples/counter/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "A simple client/server app using ShareDB and WebSockets",
55
"main": "server.js",
66
"scripts": {
7-
"build": "mkdir -p static/dist/ && ./node_modules/.bin/browserify client.js -o static/dist/bundle.js",
7+
"build": "browserify client.js -o static/dist/bundle.js",
88
"test": "echo \"Error: no test specified\" && exit 1",
99
"start": "node server.js"
1010
},

examples/leaderboard/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "React Leaderboard backed by ShareDB",
55
"main": "server.js",
66
"scripts": {
7-
"build": "mkdir -p static/dist/ && ./node_modules/.bin/browserify -t [ babelify --presets [ react ] ] client/index.jsx -o static/dist/bundle.js",
7+
"build": "browserify -t [ babelify --presets [ react ] ] client/index.jsx -o static/dist/bundle.js",
88
"test": "echo \"Error: no test specified\" && exit 1",
99
"start": "node server/index.js"
1010
},

examples/rich-text-presence/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "An example of presence using ShareDB and Quill",
55
"main": "server.js",
66
"scripts": {
7-
"build": "mkdir -p static/dist/ && ./node_modules/.bin/browserify client.js -o static/dist/bundle.js",
7+
"build": "browserify client.js -o static/dist/bundle.js",
88
"test": "echo \"Error: no test specified\" && exit 1",
99
"start": "node server.js"
1010
},

examples/rich-text/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "A simple rich-text editor example based on Quill and ShareDB",
55
"main": "server.js",
66
"scripts": {
7-
"build": "mkdir -p static/dist/ && ./node_modules/.bin/browserify client.js -o static/dist/bundle.js",
7+
"build": "browserify client.js -o static/dist/bundle.js",
88
"test": "echo \"Error: no test specified\" && exit 1",
99
"start": "node server.js"
1010
},

examples/textarea/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "A simple client/server app using ShareDB and WebSockets",
55
"main": "server.js",
66
"scripts": {
7-
"build": "mkdir -p static/dist/ && ./node_modules/.bin/browserify client.js -o static/dist/bundle.js",
7+
"build": "browserify client.js -o static/dist/bundle.js",
88
"test": "echo \"Error: no test specified\" && exit 1",
99
"start": "node server.js"
1010
},

0 commit comments

Comments
 (0)