forked from transloadit/jquery-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
56 lines (56 loc) · 2.71 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
{
"name": "transloadit-jquery-sdk",
"version": "3.0.12",
"scripts": {
"build": "npm run clean && npm run css && npm run browserify && npm run uglify && npm run inject_comment && npm run gzip && npm run versionify",
"clean": "rm -rf build/*",
"css": "mkdir -p build/css/img && cp css/transloadit.css build/css/transloadit2-v3-latest.css && cp -v css/img/* build/css/img/",
"browserify": "browserify -t [ babelify --presets [ es2015 ] ] js/lib/*.js -o build/jquery.transloadit2-v3-latest.js",
"dev": "npm run clean && npm run css && npm run browserify",
"fix": "eslint . --fix",
"gzip": "gzip --force --best < build/jquery.transloadit2-v3-latest.js > build/jquery.transloadit2-v3-latest.js.gz",
"inject": "cp -v build/css/transloadit2-v3-latest.css ${WEBSITEDIR:-~/code/content}/css/transloadit2-v3-latest.css && cp -v build/css/img/* ${WEBSITEDIR:-~/code/content}/css/img/ && cp -v build/jquery.transloadit2-v3*.js* ${WEBSITEDIR:-~/code/content}/js",
"inject_comment": "node inject_comment.js",
"link": "ln -nfs $(pwd) ${WEBSITEDIR:-../content}/jquery-sdk",
"lint": "eslint .",
"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 --tags && git push && npm publish",
"start:test:server": "node tests/server.js",
"test": "npm run lint && tests/run.sh",
"uglify": "uglifyjs --comments --stats --output=build/jquery.transloadit2-v3-latest.js --source-map=build/jquery.transloadit2-v3-latest.js.map -- build/jquery.transloadit2-v3-latest.js",
"versionify": "cd build && for file in *.*; do cp -v ${file} $(echo ${file} |sed \"s/v3-latest/v$(npm run --silent version)/g\" ); done",
"version": "node -e 'console.log(require(\"./package.json\").version)'"
},
"files": [
"js",
"css"
],
"dependencies": {
"socket.io-client": "1.7.2",
"tus-js-client": "1.4.3"
},
"devDependencies": {
"babel-cli": "6.23.0",
"babel-core": "6.23.1",
"babel-eslint": "7.1.1",
"babel-plugin-add-module-exports": "0.2.1",
"babel-plugin-es6-promise": "1.1.1",
"babel-plugin-syntax-async-functions": "6.13.0",
"babel-plugin-transform-async-to-generator": "6.22.0",
"babel-plugin-transform-object-assign": "6.22.0",
"babel-preset-es2015": "6.22.0",
"babelify": "7.3.0",
"browserify": "13.0.0",
"casperjs": "1.1.2",
"debug": "2.2.0",
"es6-promise": "4.1.0",
"eslint": "3.15.0",
"eslint-config-standard": "6.2.1",
"eslint-plugin-promise": "3.4.1",
"eslint-plugin-standard": "2.0.1",
"fakefile": "0.0.8",
"uglify-js": "2.8.16"
}
}