1 | {
|
2 | "name": "iper",
|
3 | "description": "Hypergraphs for breakfast",
|
4 | "version": "0.6.1",
|
5 | "homepage": "http://www.g14n.info/iper",
|
6 | "author": {
|
7 | "name": "Gianluca Casati",
|
8 | "url": "http://g14n.info"
|
9 | },
|
10 | "license": "MIT",
|
11 | "main": "src/iper.js",
|
12 | "engines": {
|
13 | "node": ">=4.2.3"
|
14 | },
|
15 | "scripts": {
|
16 | "build": "npm test && npm run browserify && npm run minify && npm run jekyll; git status",
|
17 | "browserify": "npm run browserify_dist; npm run browserify_test",
|
18 | "browserify_dist": "NODE_PATH=src browserify -r ./${npm_package_main}:${npm_package_name} -t babelify -o dist/${npm_package_name}.js",
|
19 | "browserify_test": "NODE_PATH=src browserify test/*js -t babelify -o gh-pages/test/bundle.js",
|
20 | "check-deps": "npm outdated",
|
21 | "coverage": "npm run istanbul && npm run coveralls",
|
22 | "coveralls": "cat ./coverage/lcov.info | coveralls --verbose",
|
23 | "cp": "npm run cp_package.json",
|
24 | "cp_package.json": "cp package.json gh-pages/_data",
|
25 | "gh-pages_push": "git subtree --prefix gh-pages push origin gh-pages",
|
26 | "gh-pages_pull": "git subtree --prefix gh-pages pull origin gh-pages",
|
27 | "homepage": "echo \"---\ntitle: $npm_package_name\n---\" > gh-pages/index.md; cat README.md >> gh-pages/index.md",
|
28 | "istanbul": "istanbul cover _mocha",
|
29 | "jekyll": "npm run homepage; npm run cp; cd gh-pages; jekyll build; cd ..",
|
30 | "lint": "for x in src test; do npm run lint_$x; done",
|
31 | "lint_src": "standard src/*js",
|
32 | "lint_test": "standard --global describe --global it test/*js",
|
33 | "minify": "cd dist; uglifyjs ${npm_package_name}.js --source-map ${npm_package_name}.map --output ${npm_package_name}.min.js --compress --mangle --preamble \"// ${npm_package_name}.js ${npm_package_homepage} \n// license ${npm_package_license}\"; cd -",
|
34 | "postversion": "git push origin v${npm_package_version}; npm publish; npm run _push",
|
35 | "pull": "git pull origin master && npm run gh-pages_pull",
|
36 | "push": "git push origin master && npm run gh-pages_push",
|
37 | "postupdate-deps": "npm test && git commit -am 'updated deps' || git checkout -- package.json",
|
38 | "test": "NODE_PATH=src mocha",
|
39 | "update-deps": "npm update --save --dev"
|
40 | },
|
41 | "pre-commit": [
|
42 | "check-deps",
|
43 | "lint",
|
44 | "test"
|
45 | ],
|
46 | "repository": {
|
47 | "type": "git",
|
48 | "url": "git://github.com/fibo/iper.git"
|
49 | },
|
50 | "keywords": [
|
51 | "math",
|
52 | "graph"
|
53 | ],
|
54 | "bugs": {
|
55 | "url": "https://github.com/fibo/iper/issues"
|
56 | },
|
57 | "dependencies": {
|
58 | "is-integer": "^1.0.6",
|
59 | "lodash.isequal": "^4.4.0",
|
60 | "lodash.uniqby": "^4.7.0",
|
61 | "lodash.uniqueid": "^4.0.0",
|
62 | "not-defined": "^1.1.0",
|
63 | "static-props": "^1.0.0",
|
64 | "strict-mode": "^1.0.0"
|
65 | },
|
66 | "devDependencies": {
|
67 | "babel-preset-es2015": "^6.5.0",
|
68 | "babelify": "^7.2.0",
|
69 | "browserify": "^13.0.0",
|
70 | "coveralls": "^2.11.6",
|
71 | "dot-editorconfig": "^0.2.0",
|
72 | "istanbul": "^0.4.1",
|
73 | "mocha": "^3.1.2",
|
74 | "pre-commit": "^1.1.2",
|
75 | "should": "^11.1.1",
|
76 | "standard": "^8.5.0",
|
77 | "uglify-js": "^2.6.1"
|
78 | }
|
79 | }
|