forked from Ldebost/cmp_pv
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
28 lines (28 loc) · 1.75 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
{
"name": "cmp_pv",
"version": "1.0.0",
"description": "ParuVendu.fr Consent Management Platform",
"homepage": "https://github.com/Ldebost/cmp_pv",
"main": "cmp.js",
"scripts": {
"dev": "ws",
"build-cmp": "uglifyjs polyfills/base64.polyfill.js polyfills/assign.polyfill.js cmp.js --compress --mangle --source-map url=cmp.min.js.map --output cmp.min.js",
"build-stub": "uglifyjs stub.js --compress --mangle -o stub.min.js",
"build-portal": "uglifyjs polyfills/assign.polyfill.js portal.js --compress --mangle -o portal.min.js",
"convert": "del cmp.iso-8859-1.min.js && charset-convert cmp.min.js cmp.iso-8859-1.min.js -i utf8 -o ISO-8859-1",
"build": "npm run build-cmp && npm run build-stub && npm run build-portal && npm run convert",
"deploy": "xcopy cmp*.js* C:\\paruvendu\\sources\\root\\communfo\\web\\www\\js\\cmp\\ /Y /U && xcopy cmp.iso-8859-1.min.js C:\\paruvendu\\sources\\root\\communfo\\web\\www\\js\\cmp\\cmp.min.js /Y && xcopy portal.* C:\\paruvendu\\sources\\root\\communfo\\web\\www\\js\\cmp\\ /Y && xcopy stub.* C:\\paruvendu\\sources\\root\\communfo\\web\\www\\js\\cmp\\ /Y",
"test": "uglifyjs polyfills/base64.polyfill.js polyfills/assign.polyfill.js cmp.js --compress sequences,dead_code,conditionals,booleans,unused,if_return,join_vars --mangle toplevel --mangle-props reserved=[__cmp,init,getVendorConsents,getConsentData,ping,getPublisherConsents,getVendorList,showConsentUi,vendor_1,publisher_1,metadata_1,vendorListVersion,version,purposes,vendors] -o cmp.test.min.js"
},
"author": "",
"license": "ISC",
"devDependencies": {
"charset-convert": "^2.0.0",
"local-web-server": "^2.6.1",
"uglify-js": "^3.4.1"
},
"repository": {
"type": "git",
"url": "https://github.com/Ldebost/cmp_pv"
}
}