Fetching contributors…
Cannot retrieve contributors at this time
95 lines (94 sloc) 4.13 KB
"name": "algebra",
"description": "means completeness and balancing, from the Arabic word الجبر",
"version": "0.11.1",
"homepage": "",
"author": {
"name": "Gianluca Casati",
"url": ""
"license": "MIT",
"main": "index.js",
"scripts": {
"build": "npm test && npm run browserify && npm run minify && npm run tex && npm run jekyll; git status",
"browserify": "npm run browserify:dist; npm run browserify:test",
"browserify:dist": "browserify -r ./index.js:${npm_package_name} -t babelify -o dist/${npm_package_name}.js",
"browserify:test": "browserify test/*.js -t babelify -o gh-pages/test/bundle.js",
"check-deps": "npm outdated",
"coverage": "npm run istanbul && npm run coveralls",
"coveralls": "cat ./coverage/ | coveralls --verbose",
"decrypt:.coveralls.yml": "keybase decrypt -o .coveralls.yml .coveralls.yml.asc",
"gh-pages:_data": "for x in package.json tags.json; do npm run gh-pages:_data:$x; done",
"gh-pages:_data:package.json": "cp package.json gh-pages/_data/",
"gh-pages:_data:tags.json": "wget${npm_package_name}/tags -O gh-pages/_data/tags.json",
"gh-pages:push": "git subtree --prefix gh-pages push origin gh-pages",
"gh-pages:pull": "git subtree --prefix gh-pages pull origin gh-pages",
"homepage": "echo \"---\ntitle: $npm_package_name\n---\" > gh-pages/; cat >> gh-pages/",
"istanbul": "istanbul cover _mocha",
"jekyll": "npm run homepage; npm run gh-pages:_data; cd gh-pages; jekyll build; cd ..",
"jekyll:serve": "npm run browserify; npm run homepage; npm run cp; cd gh-pages; jekyll serve; cd ..",
"lint": "npm run lint_src; npm run lint_test",
"lint_src": "standard src/*.js",
"lint_test": "cd test; standard --global describe --global it; cd -",
"minify": "cd dist; uglifyjs ${npm_package_name}.js --source-map ${npm_package_name}.map --output ${npm_package_name}.min.js --compress --mangle --preamble \"// Software: ${npm_package_name}\n// Homepage: ${npm_package_homepage}\n// License: ${npm_package_license}\"; cd -",
"tex": "npm run tex:display; npm run tex:inline",
"tex:display": "ls gh-pages/tex-snippets/display/*.tex | while read texfile; do cat $texfile | katex --display-mode > gh-pages/_includes/display/$(basename ${texfile%.tex}).html; done",
"tex:inline": "ls gh-pages/tex-snippets/inline/*.tex | while read texfile; do cat $texfile | katex > gh-pages/_includes/inline/$(basename ${texfile%.tex}).html; done",
"postversion": "git push origin v${npm_package_version}; npm publish; npm run push",
"postpublish": "npm run gh-pages:_data; git commit -am ':arrow_up: updated version'; npm run push",
"postupdate-deps": "npm test && git commit -am ':arrow_up: updated deps' || git checkout -- package.json",
"pull": "git pull origin master && npm run gh-pages:pull",
"push": "git push origin master && npm run gh-pages:push",
"test": "mocha",
"update-deps": "npm update --save --dev",
"watch": "mocha -w"
"pre-commit": [
"repository": {
"type": "git",
"url": "git://"
"changelog": "gh-pages/",
"keywords": [
"devDependencies": {
"babel-preset-es2015": "^6.6.0",
"babelify": "^7.2.0",
"browserify": "^13.0.0",
"coveralls": "^2.11.9",
"istanbul": "^0.4.1",
"katex": "^0.6.0",
"mocha": "^2.3.4",
"mocha-lcov-reporter": "1.2.0",
"pre-commit": "^1.1.2",
"should": "^11.0.0",
"standard": "^8.0.0",
"uglify-js": "^2.6.2"
"dependencies": {
"algebra-cyclic": "^0.2.0",
"cayley-dickson": "^0.3.0",
"indices-permutations": "^0.2.0",
"inherits": "^2.0.1",
"laplace-determinant": "^0.1.0",
"matrix-multiplication": "^0.4.0",
"multidim-array-index": "^0.5.0",
"not-defined": "^1.0.0",
"static-props": "^1.0.0",
"strict-mode": "^1.0.0",
"tensor-contraction": "^0.1.1",
"tensor-product": "^0.2.0"