Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Fetching contributors…
Cannot retrieve contributors at this time
74 lines (73 sloc) 2.92 KB
"name": "algebra",
"description": "Vectors, Matrices, Real, Complex, Quaternion",
"version": "0.6.2",
"engines": { "node": ">=4.0.0" },
"homepage": "",
"author": {
"name": "Gianluca Casati",
"url": ""
"license": "MIT",
"main": "index.js",
"scripts": {
"_build": "npm test && npm run browserify && npm run tex && npm run jekyll; git status",
"_pull": "git pull origin master && npm run gh-pages:pull",
"_push": "git push origin master && npm run gh-pages:push",
"browserify": "npm run browserify:dist; npm run browserify:test",
"browserify:dist": "browserify -r ./index.js:${npm_package_name} -o dist/${npm_package_name}.js",
"browserify:test": "browserify test/*.js -o gh-pages/test/bundle.js",
"coverage": "npm run istanbul && npm run coveralls",
"coveralls": "cat ./coverage/ | coveralls --verbose",
"cp": "npm run cp:dist; npm run cp:package.json",
"cp:dist": "cp -r dist/ gh-pages/",
"cp:package.json": "cp package.json gh-pages/_data/",
"dox": "cat src/*.js | dox > gh-pages/_data/dox.json",
"gh-pages:_data": "npm run package.json; npm run dox",
"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 cp; npm run gh-pages:_data; cd gh-pages; jekyll build; cd ..",
"jshint": "jshint -c .jshintrc src/**.js test/**.js",
"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",
"package.json": "cp package.json gh-pages/_data/",
"postversion": "git push origin v${npm_package_version}; npm publish",
"test": "mocha --bail --require should --reporter min --recursive"
"repository": {
"type": "git",
"url": "git://"
"keywords": [
"devDependencies": {
"browserify": "^10.1.3",
"coveralls": "^2.11.2",
"dox": "^0.7.1",
"install": "^0.1.8",
"istanbul": "^0.3.14",
"katex": "^0.5.0",
"mocha": "^2.3.1",
"mocha-lcov-reporter": "0.0.2",
"should": "^6.0.1"
"dependencies": {
"algebra-group": "^0.2.0",
"algebra-ring": "^0.2.0",
"cayley-dickson": "^0.1.0",
"inherits": "^2.0.1",
"is-integer": "^1.0.6",
"laplace-determinant": "^0.1.0",
"strict-mode": "^0.4.1"
Jump to Line
Something went wrong with that request. Please try again.