|
18 | 18 | "build:compile": "babel --source-maps -d lib src", |
19 | 19 | "build:bundle": "NODE_ENV=production webpack -p lib/vector/index.js vector/bundle.js", |
20 | 20 | "build:bundle:dev": "NODE_ENV=production webpack --optimize-occurence-order lib/vector/index.js vector/bundle.js", |
21 | | - "build:staticfiles": "scripts/staticfiles.js", |
| 21 | + "build:staticfiles": "cpx -v node_modules/olm/olm.js vector/", |
22 | 22 | "build": "npm run build:staticfiles && npm run build:emojione && npm run build:css && npm run build:compile && npm run build:bundle", |
23 | 23 | "build:dev": "npm run build:staticfiles && npm run build:emojione && npm run build:css && npm run build:compile && npm run build:bundle:dev", |
24 | 24 | "package": "scripts/package.sh", |
25 | 25 | "start:emojione": "cpx \"node_modules/emojione/assets/svg/*\" vector/emojione/svg/ -w", |
26 | 26 | "start:js": "webpack -w src/vector/index.js vector/bundle.js", |
27 | 27 | "start:js:prod": "NODE_ENV=production webpack -w src/vector/index.js vector/bundle.js", |
28 | 28 | "start:skins:css": "catw \"src/skins/vector/css/**/*.css\" -o vector/components.css", |
| 29 | + "start:staticfiles": "cpx -Lwv node_modules/olm/olm.js vector/", |
29 | 30 | "//cache": "Note the -c 1 below due to https://code.google.com/p/chromium/issues/detail?id=508270", |
30 | | - "start": "parallelshell \"npm run build:staticfiles\" \"npm run start:emojione\" \"npm run start:js\" \"npm run start:skins:css\" \"http-server -c 1 vector\"", |
31 | | - "start:prod": "parallelshell \"npm run build:staticfiles\" \"npm run start:emojione\" \"npm run start:js:prod\" \"npm run start:skins:css\" \"http-server -c 1 vector\"", |
| 31 | + "start": "parallelshell \"npm run start:staticfiles\" \"npm run start:emojione\" \"npm run start:js\" \"npm run start:skins:css\" \"http-server -c 1 vector\"", |
| 32 | + "start:prod": "parallelshell \"npm run start:staticfiles\" \"npm run start:emojione\" \"npm run start:js:prod\" \"npm run start:skins:css\" \"http-server -c 1 vector\"", |
32 | 33 | "clean": "rimraf lib vector/olm.js vector/bundle.css vector/bundle.js vector/bundle.js.map vector/webpack.css* vector/emojione", |
33 | 34 | "prepublish": "npm run build:css && npm run build:compile", |
34 | 35 | "test": "karma start --single-run=true --autoWatch=false --browsers PhantomJS --colors=false", |
|
0 commit comments