mirror of
https://github.com/amark/gun.git
synced 2025-03-30 15:08:33 +00:00
Merge pull request #283 from hillct/feature/withBuildMinified
Minify Gun at package publish-time
This commit is contained in:
commit
dff24e2578
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,5 +1,6 @@
|
||||
node_modules/*
|
||||
npm-debug.log
|
||||
gun.min.js
|
||||
yarn.lock
|
||||
*data.json
|
||||
*.db
|
||||
|
@ -5,6 +5,7 @@
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"start": "node examples/http.js 8080",
|
||||
"prepublish": "uglifyjs2 gun.js -o gun.min.js -c -m",
|
||||
"test": "mocha",
|
||||
"unbuild": "node lib/unbuild.js"
|
||||
},
|
||||
@ -49,9 +50,10 @@
|
||||
"ws": "~>1.0.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"mocha": "~>1.9.0",
|
||||
"express": "~>4.13.4",
|
||||
"mocha": "~>1.9.0",
|
||||
"panic-server": "~>0.3.0",
|
||||
"selenium-webdriver": "~>2.53.2"
|
||||
"selenium-webdriver": "~>2.53.2",
|
||||
"uglify-js2": "^2.1.11"
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user