-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
17 lines (17 loc) · 778 Bytes
/
package.json
File metadata and controls
17 lines (17 loc) · 778 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{
"name": "tap_complex",
"version": "0.1.0",
"scripts": {
"prebuild": "./packer.sh;babel api.js -d /tmp/$npm_package_name/build/api/;mkdir -p build;rm api.js",
"build": "find /tmp/tap_complex/build/ -name \"*.js\" |xargs cat | ./node_modules/.bin/uglifyjs -c passes=2 -o build/$npm_package_name-$npm_package_version.min.js",
"postbuild": "tar -Jcf build/$npm_package_name-$npm_package_version-source.tar.xz api/;tar -Jcf build/$npm_package_name-$npm_package_version-es2015.tar.xz -C /tmp/$npm_package_name/build/ api/;rm -rf /tmp/$npm_package_name"
},
"devDependencies": {
"@babel/cli": "^7.15.7",
"@babel/core": "^7.15.5",
"@babel/preset-env": "^7.15.6",
"uglify-js": "^3.14.2",
"@babel/runtime": "^7.15.4"
},
"dependencies": {}
}