-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
21 lines (21 loc) · 1.24 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
"name": "tracking-pixel",
"version": "0.0.1",
"description": "TA Tracking Pixel library",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"lib:build": "mkdir -p tracking-library/build && uglifyjs tracking-library/src/loader.js -cm -o tracking-library/build/loader.min.js && uglifyjs tracking-library/src/taevents.js -cm -o tracking-library/build/taevents.min.js",
"extension:background:build": "mkdir -p chrome-extension/build && uglifyjs chrome-extension/src/background/*.js -b -o chrome-extension/build/background.min.js",
"extension:popup:build": "mkdir -p chrome-extension/build && uglifyjs chrome-extension/src/popup/*.js -b -o chrome-extension/build/popup.min.js",
"extension:content:build": "mkdir -p chrome-extension/build && uglifyjs chrome-extension/src/content/*.js -b -o chrome-extension/build/content.min.js",
"extension:build": "npm run extension:background:build && npm run extension:popup:build && npm run extension:content:build",
"build": "npm run lib:build && npm run extension:build",
"clean": "rm -rf tracking-library/build && rm -rf chrome-extension/build"
},
"author": "mtownsend",
"devDependencies": {
"gulp": "^3.9.0",
"promise": "^7.0.4",
"uglify-js": "^2.6.1"
}
}