aframe-core

v0.1.6
> `aframe-core` has merged into [aframe dev branch](https://github.com/aframevr/aframe/tree/dev) and all development has moved to the [aframe repo](https://github.com/aframevr/aframe). This repository will be removed later.

start

npm run dev

dev

npm run build && budo src/index.js:build/aframe-core.js --debug --verbose --port 9001 --onupdate 'semistandard -v $(git ls-files "*.js") | snazzy' -- ./src/index.js -s 'aframe-core'

browserify

browserify ./src/index.js -s 'aframe-core'

build

mkdir -p build/ && npm run browserify -- --debug -o build/aframe-core.js

dist

rm -rf dist/ && mkdir -p dist/ && npm run dist:js

dist:js

npm run browserify -s -- --debug | exorcist dist/aframe-core.js.map > dist/aframe-core.js && uglifyjs dist/aframe-core.js -c warnings=false -m -o dist/aframe-core.min.js

preghpages

npm run dist && rm -rf gh-pages && mkdir -p gh-pages && cp -r {.nojekyll,dist,lib,examples,style,index.html} gh-pages/. && git checkout dist/ && replace 'build/aframe-core.js' 'dist/aframe-core.min.js' gh-pages/ -r --silent

ghpages

node ./scripts/gh-pages

gh-pages

npm run ghpages

version

npm run dist

release:bump

npm version patch --preminor && git commit -a -C HEAD --amend

release:push

npm login && npm publish && git push --follow-tags

test

karma start ./tests/karma.conf.js

test:ci

TEST_ENV=ci karma start ./tests/karma.conf.js --single-run

lint

semistandard -v $(git ls-files '*.js') | snazzy

precommit

npm run lint
npm i aframe-core

Metadata

  • MIT
  • >= 0.12.7
  • Unknown
  • released 3/12/2016

Downloads