forked from transloadit/uppy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
145 lines (145 loc) · 6.7 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
{
"private": true,
"name": "uppy-build",
"version": "0.0.0",
"description": "Extensible JavaScript file upload widget with support for drag&drop, resumable uploads, previews, restrictions, file processing/encoding, remote providers like Instagram, Dropbox, Google Drive, S3 and more :dog:",
"lint-staged": {
"*.js": "eslint"
},
"pre-commit": "lint-staged",
"license": "MIT",
"devDependencies": {
"@types/react": "^16.4.18",
"aliasify": "^2.1.0",
"autoprefixer": "^7.2.6",
"babel-cli": "^6.26.0",
"babel-core": "^6.26.3",
"babel-jest": "^23.6.0",
"babel-plugin-transform-object-assign": "^6.22.0",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-plugin-transform-proto-to-assign": "^6.26.0",
"babel-plugin-transform-react-jsx": "^6.24.1",
"babel-polyfill": "^6.26.0",
"babel-preset-env": "^1.7.0",
"babel-register": "^6.26.0",
"babelify": "^8.0.0",
"browser-resolve": "^1.11.3",
"browser-sync": "^2.26.3",
"browserify": "^16.2.3",
"chai": "^4.2.0",
"chalk": "^2.4.1",
"cssnano": "^3.10.0",
"disc": "^1.3.3",
"enzyme": "^3.7.0",
"enzyme-adapter-react-16": "^1.6.0",
"eslint": "^3.19.0",
"eslint-config-standard": "^10.2.1",
"eslint-config-standard-preact": "^1.1.6",
"eslint-plugin-compat": "^2.6.3",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jest": "^21.27.1",
"eslint-plugin-node": "^4.2.3",
"eslint-plugin-promise": "^3.8.0",
"eslint-plugin-standard": "^3.1.0",
"exorcist": "^1.0.1",
"fakefile": "0.0.9",
"github-contributors-list": "1.2.3",
"glob": "^7.1.3",
"gzip-size": "^5.0.0",
"isomorphic-fetch": "2.2.1",
"jest": "^23.6.0",
"json3": "^3.3.2",
"lerna": "^3.13.0",
"lint-staged": "^6.1.1",
"minify-stream": "^1.2.0",
"mkdirp": "0.5.1",
"multi-glob": "^1.0.2",
"nock": "^9.6.1",
"node-sass": "^4.11.0",
"npm-auth-to-token": "^1.0.0",
"npm-run-all": "^4.1.3",
"onchange": "^4.1.0",
"postcss": "^6.0.23",
"postcss-safe-important": "^1.1.0",
"pre-commit": "^1.2.2",
"pretty-bytes": "^5.1.0",
"react": "^16.6.0",
"react-dom": "^16.6.0",
"redux": "^4.0.1",
"replace-x": "^1.5.0",
"temp-write": "^3.4.0",
"tinyify": "^2.4.3",
"tsify": "^4.0.1",
"typescript": "^2.9.2",
"verdaccio": "^3.11.4",
"watchify": "^3.11.0",
"wdio-mocha-framework": "^0.6.4",
"wdio-sauce-service": "^0.4.12",
"wdio-static-server-service": "^1.0.1",
"webdriverio": "^4.14.0"
},
"scripts": {
"build:bundle": "node ./bin/build-js.js",
"build:css": "node ./bin/build-css.js",
"build:companion": "cd ./packages/@uppy/companion && npm run build",
"build:gzip": "node ./bin/gzip.js",
"size": "echo 'JS Bundle mingz:' && cat ./packages/uppy/dist/uppy.min.js | gzip | wc -c && echo 'CSS Bundle mingz:' && cat ./packages/uppy/dist/uppy.min.css | gzip | wc -c",
"build:js": "npm-run-all build:lib build:bundle",
"build:lib": "node ./bin/build-lib.js",
"build": "npm-run-all --parallel build:js build:css build:companion --serial build:gzip size",
"clean": "rm -rf packages/*/lib packages/@uppy/*/lib packages/*/dist packages/@uppy/*/dist",
"lint:fix": "npm run lint -- --fix",
"lint": "eslint . --cache",
"lint-staged": "lint-staged",
"release": "./bin/release",
"version": "./bin/sync-version-numbers",
"start:companion": "sh ./bin/companion",
"start": "npm-run-all --parallel watch start:companion web:preview",
"test:registry": "verdaccio --listen 4002 --config test/endtoend/verdaccio.yaml",
"test:build": "./bin/endtoend-build",
"test:build-ci": "./bin/endtoend-build-ci",
"test:prepare-ci": "npm-run-all --parallel --race test:registry test:build-ci",
"test:acceptance": "npm run test:prepare-ci && wdio test/endtoend/wdio.remote.conf.js",
"test:acceptance:local": "npm run test:build && wdio test/endtoend/wdio.local.conf.js",
"test:unit": "npm run build:lib && jest",
"test:companion": "cd ./packages/@uppy/companion && npm run test",
"test:type": "tsc -p .",
"test": "npm run lint && npm run test:unit && npm run test:type && npm run test:companion",
"test:watch": "jest --watch",
"travis:deletecache": "travis cache --delete",
"watch:css": "onchange 'packages/**/*.scss' --initial --verbose -- npm run build:css",
"watch:js": "onchange 'packages/{@uppy/,}*/src/**/*.js' --initial --verbose -- npm run build:bundle",
"watch:js:lib": "onchange 'packages/{@uppy/,}*/src/**/*.js' --initial --verbose -- npm run build:lib",
"watch": "npm-run-all --parallel watch:js watch:css",
"dev:browsersync": "browser-sync start --no-open --no-ghost-mode false --server examples/dev --port 3452 --serveStatic packages/uppy/dist --files \"examples/dev/bundle.js, packages/uppy/dist/uppy.min.css, packages/uppy/lib/**/*\"",
"dev:js": "cd examples/dev && npm run watch",
"dev": "npm-run-all --parallel start:companion dev:js watch:css watch:js:lib dev:browsersync",
"dev:no-companion": "npm-run-all --parallel dev:js watch:css watch:js:lib dev:browsersync",
"web:build": "cd website && node update.js && ./node_modules/.bin/hexo generate --silent && node build-examples.js",
"web:clean": "cd website && ./node_modules/.bin/hexo clean",
"web:deploy": "npm-run-all web:install web:disc web:build && ./bin/web-deploy",
"web:disc": "node ./bin/disc.js",
"web:install": "cd website && npm install",
"web:bundle:update:watch": "onchange 'packages/uppy/dist/**/*.css' 'packages/uppy/dist/**/*.js' --initial --verbose -- node website/update.js",
"web:examples:watch": "cd website && node build-examples.js watch",
"web:serve": "cd website && ./node_modules/.bin/hexo server",
"web:preview": "npm-run-all build:lib --parallel web:examples:watch web:bundle:update:watch web:serve",
"web:update:frontpage:code:sample": "cd website && ./node_modules/.bin/hexo generate && cp -f public/frontpage-code-sample.html ./themes/uppy/layout/partials/frontpage-code-sample.html",
"web": "npm-run-all web:clean web:build",
"uploadcdn": "bin/upload-to-cdn.sh",
"bootstrap": "lerna bootstrap",
"contributors": "githubcontrib --owner transloadit --repo uppy --cols 6 $([ \"${GITHUB_TOKEN:-}\" == \"\" ] && echo \"\" || echo \"--authToken ${GITHUB_TOKEN}\") --showlogin true --sortOrder desc",
"contributors:save": "replace-x -m '<!--contributors-->[\\s\\S]+<!--/contributors-->' \"<!--contributors-->\n## Contributors\n\n$(npm run --silent contributors)\n<!--/contributors-->\" README.md"
},
"jest": {
"automock": false,
"collectCoverage": true,
"collectCoverageFrom": [
"packages/**/src/**"
],
"testMatch": [
"**/packages/**/*.test.js"
]
},
"dependencies": {}
}