forked from transloadit/uppy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
170 lines (170 loc) · 6.92 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
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
{
"name": "uppy",
"version": "0.22.1",
"description": "Extensible file upload widget with support for drag&drop, resumable uploads, previews, restrictions, file processing/encoding, remote providers like Dropbox and Google Drive, S3 and more :dog:",
"main": "lib/index.js",
"jsnext:main": "src/index.js",
"unpkg": "dist/uppy.min.js",
"files": [
"src/",
"lib/",
"dist/",
"test/",
"bin/",
"examples/"
],
"lint-staged": {
"*.js": "eslint"
},
"pre-commit": "lint-staged",
"repository": {
"type": "git",
"url": "git+https://github.com/transloadit/uppy.git"
},
"keywords": [
"file uploader",
"drag-drop",
"progress",
"preview",
"resumable uploads",
"xhr",
"tus",
"s3",
"google drive",
"dropbox",
"webcam"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/transloadit/uppy/issues"
},
"homepage": "https://github.com/transloadit/uppy#readme",
"jest": {
"testPathIgnorePatterns": [
"lib"
]
},
"devDependencies": {
"autoprefixer": "6.3.7",
"babel-cli": "6.11.4",
"babel-core": "6.13.2",
"babel-eslint": "6.1.2",
"babel-jest": "^22.0.0",
"babel-plugin-add-module-exports": "0.2.1",
"babel-plugin-es6-promise": "1.0.0",
"babel-plugin-transform-object-assign": "6.8.0",
"babel-plugin-transform-proto-to-assign": "6.9.0",
"babel-plugin-transform-react-jsx": "^6.24.1",
"babel-polyfill": "6.9.1",
"babel-preset-es2015": "6.24.0",
"babel-register": "6.9.0",
"babelify": "7.3.0",
"browser-sync": "2.18.8",
"browserify": "14.1.0",
"chalk": "1.1.3",
"cssnano": "3.7.3",
"disc": "1.3.2",
"eslint": "^3.19.0",
"eslint-config-standard": "^10.2.1",
"eslint-config-standard-preact": "^1.1.6",
"eslint-plugin-import": "^2.7.0",
"eslint-plugin-jest": "^21.5.0",
"eslint-plugin-node": "^4.2.3",
"eslint-plugin-promise": "^3.5.0",
"eslint-plugin-standard": "^3.0.1",
"exorcist": "0.4.0",
"fakefile": "0.0.8",
"glob": "7.1.1",
"isomorphic-fetch": "2.2.1",
"jest": "^22.0.0",
"lint-staged": "2.0.2",
"minify-stream": "^1.1.0",
"mkdirp": "0.5.1",
"multi-glob": "1.0.1",
"next-update": "1.2.2",
"nock": "8.0.0",
"node-sass": "4.5.0",
"nodemon": "1.8.1",
"npm-run-all": "2.3.0",
"onchange": "3.2.1",
"postcss": "5.1.0",
"pre-commit": "1.1.3",
"redux": "^3.7.2",
"sass": "0.5.0",
"tape": "^4.8.0",
"temp-write": "^3.4.0",
"tinyify": "^1.0.0",
"uppy-server": "0.0.7",
"watchify": "3.7.0",
"wdio-mocha-framework": "^0.5.11",
"wdio-sauce-service": "^0.4.4",
"wdio-static-server-service": "^1.0.1",
"webdriverio": "^4.9.5"
},
"dependencies": {
"classnames": "^2.2.5",
"cuid": "^1.3.8",
"drag-drop": "2.13.2",
"es6-promise": "3.2.1",
"get-form-data": "^1.2.5",
"lodash.throttle": "4.1.1",
"mime-match": "^1.0.2",
"namespace-emitter": "^2.0.0",
"preact": "^8.2.7",
"prettier-bytes": "1.0.4",
"prop-types": "^15.5.10",
"socket.io-client": "2.0.2",
"tus-js-client": "^1.4.5",
"url-parse": "1.1.9",
"whatwg-fetch": "2.0.3"
},
"scripts": {
"build:bundle": "node ./bin/build-js.js",
"build:css": "node ./bin/build-css.js",
"build:gzip": "node ./bin/gzip.js",
"size": "echo 'JS Bundle mingz:' && cat ./dist/uppy.min.js | gzip | wc -c && echo 'CSS Bundle mingz:' && cat ./dist/uppy.min.css | gzip | wc -c",
"build:js": "npm-run-all build:bundle build:lib",
"build:lib": "babel --version && babel src --source-maps -d lib",
"build": "npm-run-all --parallel build:js build:css --serial build:gzip size",
"clean": "rm -rf lib && rm -rf dist",
"lint:fix": "eslint src test website/build-examples.js website/update.js website/themes/uppy/source/js/common.js --fix",
"lint": "eslint src test website/build-examples.js website/update.js website/themes/uppy/source/js/common.js",
"lint-staged": "lint-staged",
"release:major": "env SEMANTIC=major npm run release",
"release:minor": "env SEMANTIC=minor npm run release",
"release:patch": "env SEMANTIC=patch npm run release",
"release": "npm version ${SEMANTIC:-patch} -m \"Release %s\" && git push && git push --tags && npm publish",
"start:server": "cd ./node_modules/uppy-server && npm run start",
"start": "npm-run-all --parallel watch start:server web:preview",
"test:acceptance:handleservers": "bin/bootandkill-servers node test/acceptance/index.js",
"test:acceptance": "./bin/endtoend-build && wdio test/endtoend/wdio.remote.conf.js",
"test:acceptance:local": "./bin/endtoend-build && wdio test/endtoend/wdio.local.conf.js",
"test:unit": "jest --testPathPattern=src --coverage",
"test": "npm run lint && npm run test:unit",
"test:watch": "jest --watch --testPathPattern=src",
"test:serve": "npm-run-all web:build --parallel start:server web:serve",
"test:next-update": "next-update",
"travis:deletecache": "travis cache --delete",
"watch:css": "onchange 'src/scss/**/*.scss' --initial --verbose -- npm run build:css",
"watch:js": "onchange 'src/**/*.js' --initial --verbose -- npm run build:bundle",
"watch": "npm-run-all --parallel watch:js watch:css",
"watch:fast": "npm-run-all --parallel watch:css web:preview",
"watch:example:browsersync": "browser-sync start --server examples/bundled-example --port 3452 --serveStatic dist --files \"examples/bundled-example/bundle.js, dist/uppy.min.css\"",
"watch:example:js": "watchify -t babelify examples/bundled-example/main.js -o examples/bundled-example/bundle.js -vd",
"watch:example": "npm-run-all --parallel watch:example:js watch:css watch:example:browsersync",
"dev": "npm-run-all --parallel watch:example:js watch:css watch:example: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:generated-docs": "cd website && node node_modules/documentation/bin/documentation.js readme ../src/index.js --readme-file=src/docs/api.md --section 'Uppy Core & Plugins' -q --github -c doc-order.json",
"web:disc": "node ./bin/disc.js",
"web:install": "cd website && npm install",
"web:bundle:update:watch": "onchange 'dist/**/*.css' '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 --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",
"prepublish": "npm-run-all clean build"
}
}