forked from Geodan/cow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
35 lines (35 loc) · 1.31 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
{
"name": "cow",
"version": "2.3.0",
"description": "Concurrent Online Workspace",
"homepage": "http://research.geodan.nl/sites/cow",
"license": "MIT",
"main": "dist/cow.node.js",
"browser": "dist/cow.js",
"module": "index",
"jsnext:main": "index.js",
"repository": {
"type": "git",
"url": "https://github.com/Geodan/cow.git"
},
"author": "Geodan Research",
"private": false,
"dependencies": {
"lzwcompress": "^0.2.4",
"underscore": "^1.8.3"
},
"devDependencies": {
"tap-spec": "^4.1.1",
"eslint": "3",
"package-preamble": "0.0",
"rollup": "0.36",
"tape": "4",
"uglify-js": "2"
},
"scripts": {
"pretest": "rm -rf dist && mkdir dist && concat-glob-cli -f src/cow2.*.js src/events.js -o dist/cow.js",
"test": "tape 'test/*-tests.js' && eslint dist/cow.js",
"prepublish": "npm run test && uglifyjs --preamble \"$(preamble)\" cow/cow.js -c -m -o dist/cow.min.js",
"postpublishxx": "VERSION=`node -e 'console.log(require(\"./package.json\").version)'`; git push && git push --tags && cd ../cow.github.com && git pull && cp ../cow/dist/cow.js cow.js && cp ../cow/dist/cow.min.js cow.min.js && git add cow.js cow.min.js && git commit -m \"cow ${VERSION}\" && git push && cd - && zip -j dist/cow.zip -- LICENSE README.md dist/cow.js dist/cow.min.js"
}
}