-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
158 lines (158 loc) · 5.63 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
{
"name": "videojs-record",
"version": "2.1.0",
"description": "A video.js plugin for recording audio/video/image files.",
"author": "Collab",
"license": "MIT",
"readmeFilename": "README.md",
"bugs": {
"url": "https://github.com/collab-project/videojs-record/issues"
},
"homepage": "https://github.com/collab-project/videojs-record",
"main": "es5/videojs.record.js",
"directories": {
"doc": "./docs",
"lib": "./src",
"example": "./examples",
"test": "./test"
},
"repository": {
"type": "git",
"url": "https://github.com/collab-project/videojs-record.git"
},
"scripts": {
"prebuild": "npm run clean",
"build": "npm-run-all -s lint build:css build:js build:test docs",
"build:fonts": "cpx --verbose 'font/*.{eot,svg,ttf,woff}' dist/fonts/",
"build:css": "npm-run-all -s build:fonts build:css:sass build:css:compress build:css:banner",
"build:css:sass": "node-sass --include-path src/css src/css/videojs.record.scss dist/css/videojs.record.css",
"build:css:compress": "cleancss -o dist/css/videojs.record.min.css dist/css/videojs.record.css",
"build:css:banner": "node scripts/add-banner.js dist/css/*.css",
"build:js": "npm-run-all build:js:babel build:js:browserify build:js:version build:js:collapse build:js:uglify build:js:banner build:js:plugins build:js:language",
"build:js:babel": "babel src/js --out-dir es5",
"build:js:version": "node scripts/update-version.js",
"build:js:banner": "node scripts/add-banner.js dist/videojs.record.min.js",
"build:js:browserify": "browserify . -p [ browserify-banner --file scripts/banner.ejs ] --standalone videojs.record --global-transform=browserify-shim --debug --outfile dist/videojs.record.js",
"build:js:collapse": "bundle-collapser dist/videojs.record.js -o dist/videojs.record.min.js",
"build:js:uglify": "uglifyjs dist/videojs.record.min.js --support-ie8 --comments -m -c -o dist/videojs.record.min.js",
"build:js:language": "vjslang -d dist/lang lang/*.json",
"build:js:plugins": "node scripts/build-plugins.js",
"build:test": "npm-run-all build:test:browserify build:test:webpack",
"build:test:browserify": "browserify test/browserify-test.js --debug --outfile dist-test/browserify-test.js",
"build:test:webpack": "webpack --config=test/webpack-config-test.js",
"clean": "npm-run-all -p clean:*",
"clean:build": "node -e \"var s=require('shelljs'),d=['dist','dist-test','es5', 'docs/api'];s.rm('-rf',d);s.mkdir('-p',d);\"",
"docs": "npm-run-all docs:*",
"docs:api": "jsdoc src/js -r -d docs/api",
"lint": "npm-run-all lint:*",
"lint:js": "jscs --config .jscsrc src/js",
"lint:json": "jsonlint-cli lang/*.json font/*.json",
"lint:html": "htmlhint examples",
"start": "npm-run-all -p watch start:*",
"start:serve": "babel-node --presets=env scripts/server.js",
"test": "echo No tests yet!",
"pretest": "npm-run-all build",
"preversion": "npm test",
"version": "npm run build",
"watch": "npm-run-all -p watch:js watch:css",
"watch:css": "npm run build:css:sass -- --watch",
"watch:js": "npm-run-all -p watch:js:build watch:js:plugins watch:js:language",
"watch:js:build": "nodemon --watch src/js/ --ignore src/js/plugins/ --exec npm-run-all build:js:babel build:js:browserify build:js:version build:js:collapse build:js:uglify build:js:banner",
"watch:js:language": "nodemon --watch lang/ --exec npm run build:js:language",
"watch:js:plugins": "nodemon --watch src/js/plugins/ --exec npm run build:js:plugins",
"release:zip": "node scripts/release-zip.js",
"prepublish": "not-in-install && npm run build || in-install"
},
"files": [
".babelrc",
".jscsrc",
"dist/",
"lang/",
"es5/",
"scripts/",
"src/",
"test/"
],
"keywords": [
"waveform",
"audio",
"video",
"wavesurfer",
"videojs",
"videojs-plugin",
"player",
"record",
"stream",
"microphone",
"recorder",
"RecordRTC",
"libvorbis.js",
"vorbis",
"ogg",
"mp3",
"opus"
],
"browserify-shim": {
"qunit": "global:QUnit",
"video.js": "global:videojs"
},
"browserify": {
"transform": [
"browserify-shim"
]
},
"dependencies": {
"base64-js": "^1.2.1",
"express": "^4.16.2",
"recordrtc": ">=5.4.6",
"video.js": ">=6.2.7",
"videojs-wavesurfer": ">=2.2.0",
"webrtc-adapter": ">=5.0.4"
},
"devDependencies": {
"add-banner": "^0.1.0",
"argv-auto-glob": "^1.0.1",
"babel-cli": "^6.26.0",
"babel-preset-env": "^1.6.1",
"babelify": "^8.0.0",
"blueimp-file-upload": ">=9.19.1",
"browserify": "^16.0.0",
"browserify-banner": "^1.0.6",
"browserify-shim": "^3.8.14",
"bundle-collapser": "^1.3.0",
"clean-css-cli": "^4.1.10",
"colour": "^0.7.1",
"connect": "^3.6.5",
"copy-dir": "^0.3.0",
"cpx": "^1.5.0",
"del": "^3.0.0",
"download-tarball": "^1.1.0",
"fine-uploader": "^5.15.6",
"glob": "^7.1.2",
"htmlhint": "^0.9.13",
"in-publish": "^2.0.0",
"jscs": "^3.0.7",
"jsdoc": "^3.5.5",
"jsonlint-cli": "^1.0.1",
"lamejs": ">=1.2.0",
"libvorbis.js": ">=1.1.2",
"mkdirp": "^0.5.1",
"moment": "^2.20.1",
"mv": "^2.1.1",
"node-sass": "^4.7.2",
"nodemon": "^1.14.12",
"npm-run-all": "^4.1.2",
"opus-recorder": ">=4.0.0",
"portscanner": "^2.1.1",
"qunit": "^2.5.0",
"recorderjs": "git+https://github.com/mattdiamond/Recorderjs.git",
"replace": "^0.3.0",
"serve-static": "^1.13.2",
"shelljs": "^0.8.1",
"uglify-js": "^3.3.10",
"uglifyify": "^4.0.5",
"videojs-languages": "^1.0.0",
"webpack": "^3.10.0",
"zip-dir": "^1.0.2"
}
}