-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
47 lines (47 loc) · 2.1 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
{
"name": "mp3gain.js",
"version": "1.1.0",
"description": "port of mp3gain in javascript, ajust gain of your MP3 inside your browser",
"repository": {
"type": "git",
"url": "git+https://github.com/ybootin/mp3gain.js.git"
},
"files": [
"dist/*",
"src/*",
"typings/*",
"demo/*",
"README.md"
],
"keywords": [
"mp3",
"audio",
"normalize",
"emscripten",
"browser"
],
"author": "Yohan Boutin",
"license": "ISC",
"bugs": {
"url": "https://github.com/ybootin/mp3gain.js/issues"
},
"homepage": "https://github.com/ybootin/mp3gain.js#readme",
"dependencies": {},
"devDependencies": {
"emloader": "^0.0.7",
"typescript": "^2.6.2",
"uglify-js": "^3.2.1"
},
"scripts": {
"prepublish": "npm run build",
"build": "npm run buildwrapper && npm run buildbinary && npm run buildworker && npm run buildmp3gain && npm run minify",
"buildwrapper": "node_modules/typescript/bin/tsc -d --removeComments --target es5 --sourceMap --outFile dist/mp3gain-wrapper.js src/mp3gain/MP3gainWrapper.ts",
"buildbinary": "./build.sh",
"buildworker": "node_modules/typescript/bin/tsc --removeComments --target es5 --lib ES5,WebWorker --outFile dist/worker.js src/mp3gain/worker.ts && node_modules/uglify-js/bin/uglifyjs --compress --mangle --output dist/worker.js dist/worker.js && cat dist/worker.js > dist/mp3gain-worker.js && cat dist/mp3gain-bin.js >> dist/mp3gain-worker.js",
"buildmp3gain": "node_modules/typescript/bin/tsc -d --removeComments --target es5 --outFile dist/mp3gain.js src/mp3gain/MP3Gain.ts && node build-embed.js",
"minify": "node_modules/uglify-js/bin/uglifyjs --compress --mangle --output dist/mp3gain.min.js dist/mp3gain.js && node_modules/uglify-js/bin/uglifyjs --compress --mangle --output dist/mp3gain-wrapper.min.js dist/mp3gain-wrapper.js",
"test": "echo \"Error: no test specified\" && exit 1",
"clean": "rm -Rf dist/",
"gh-pages": "git checkout gh-pages && git rebase master && npm run build && git add -f dist/* && git commit --amend -m 'update gh-pages' && git push -f origin gh-pages && git checkout -"
}
}