UNPKG

2.24 kBJSONView Raw
1{
2 "name": "iper",
3 "description": "Hypergraphs for breakfast",
4 "version": "0.7.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"
14 },
15 "scripts": {
16 "build": "npm test && npm run browserify && 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} -o dist/${npm_package_name}.js",
19 "browserify_test": "NODE_PATH=src browserify test/*js -o docs/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 docs/_data",
25 "homepage": "echo \"---\ntitle: $npm_package_name\n---\" > docs/index.md; cat README.md >> docs/index.md",
26 "istanbul": "istanbul cover _mocha",
27 "jekyll": "npm run homepage; npm run cp; cd docs; jekyll build; cd ..",
28 "lint": "for x in src test; do npm run lint_$x; done",
29 "lint_src": "standard src/*js",
30 "lint_test": "standard --global describe --global it test/*js",
31 "postversion": "git push origin v${npm_package_version}; npm publish; git push origin master",
32 "postupdate-deps": "npm test && git commit -am 'updated deps' || git checkout -- package.json",
33 "test": "NODE_PATH=src mocha",
34 "update-deps": "npm update --save --dev"
35 },
36 "pre-commit": [
37 "check-deps",
38 "lint",
39 "test"
40 ],
41 "repository": {
42 "type": "git",
43 "url": "git://github.com/fibo/iper.git"
44 },
45 "keywords": [
46 "math",
47 "graph",
48 "hyper",
49 "hypergraph"
50 ],
51 "bugs": {
52 "url": "https://github.com/fibo/iper/issues"
53 },
54 "dependencies": {
55 "not-defined": "^1.1.0",
56 "static-props": "^1.1.0",
57 "strict-mode": "^1.1.0"
58 },
59 "devDependencies": {
60 "browserify": "^14.4.0",
61 "coveralls": "^2.11.6",
62 "dot-editorconfig": "^1.0.1",
63 "istanbul": "^0.4.1",
64 "mocha": "^3.4.2",
65 "pre-commit": "^1.2.2",
66 "should": "^11.1.1",
67 "standard": "^10.0.2"
68 }
69}