|
@@ -5,13 +5,13 @@
|
|
|
"main": "src/index.js",
|
|
|
"scripts": {
|
|
|
"start": "parallelshell 'npm run watch' 'npm run start:server' 'npm run web:preview'",
|
|
|
- "start:server": "uppy-server --port 3002",
|
|
|
+ "start:server": "uppy-server --port 8080",
|
|
|
"clean": "rm -rf lib && rm -rf dist",
|
|
|
"docs": "cd website && documentation readme ../src/index.js --readme-file=src/api/docs.md --section 'Uppy Core & Plugins' -q --github -c doc-order.json",
|
|
|
"lint": "eslint .",
|
|
|
"lint:fix": "eslint . --fix",
|
|
|
"test": "npm run lint && npm run test:unit",
|
|
|
- "test:acceptance": "node test/multipart.spec.js",
|
|
|
+ "test:acceptance": "bin/test-acceptance",
|
|
|
"test:unit": "node test/index.js",
|
|
|
"build": "npm run build:lib && npm run build:bundle && npm run build:bundle:min && npm run build:css",
|
|
|
"build:js": "npm run build:lib && npm run build:bundle && npm run build:bundle:min",
|
|
@@ -20,7 +20,7 @@
|
|
|
"build:bundle:fullpath": "env OUT=uppy-fp.js ./bin/build-bundle --full-paths",
|
|
|
"build:bundle:min": "./bin/build-bundle",
|
|
|
"build:bundle": "./bin/build-bundle && ./bin/build-bundle-locales",
|
|
|
- "install": "bin/post-install",
|
|
|
+ "install": "npm run web:install && bin/install-chromedriver",
|
|
|
"release": "npm version ${SEMANTIC:-patch} -m \"Release %s\" && git push && git push --tags && npm publish",
|
|
|
"release:major": "env SEMANTIC=major npm run release",
|
|
|
"release:minor": "env SEMANTIC=minor npm run release",
|
|
@@ -29,7 +29,7 @@
|
|
|
"watch:fast": "parallelshell 'npm run watch:css' 'npm run web:preview'",
|
|
|
"watch:js": "nodemon --watch src --ext js -x 'npm run build:bundle && node website/update.js'",
|
|
|
"watch:css": "nodemon --watch src --ext scss -x 'npm run build:css && node website/update.js'",
|
|
|
- "web": "npm run web:install && npm run web:clean && npm run web:build",
|
|
|
+ "web": "npm run web:clean && npm run web:build",
|
|
|
"web:kill": "killall -9 node; lsof -n -i4TCP:4000 | awk '/LISTEN/ {print $2}' |xargs kill -9",
|
|
|
"web:preview": "cd website && parallelshell 'node build-examples.js watch' './node_modules/.bin/hexo server'",
|
|
|
"web:build": "cd website && node update.js && ./node_modules/.bin/hexo generate --silent && node build-examples.js",
|