@uirouter/react

v0.8.0
State based routing for React

patch

patch -N -r - -p1 < node_modules/enzyme-context-patch/patches/enzyme-adapter-react-16+1.1.1.patch || true

test

npm run patch && NODE_ENV=production jest --silent

test:downstream

npm run build && test_downstream_projects

start

cross-env NODE_ENV=development webpack-dev-server --host 0.0.0.0 --port 8000 --config ./examples/typescript/webpack.config.js --history-api-fallback --content-base examples/typescript

clean

shx rm -rf _bundles lib lib-esm build

compile

npm run clean && tsc && tsc -m es6 --outDir lib-esm

bundle

cross-env NODE_ENV=production webpack

build

run-s compile bundle fixmaps:*

release

release --deps @uirouter/core

fixmaps:lib

tweak_sourcemap_paths -a --include 'lib/**/*.js.map' 'lib-esm/**/*.js.map'

fixmaps:bundle

tweak_sourcemap_paths -a --include '_bundles/**/*.js.map'

docs

generate_docs

docs:publish

generate_docs && publish_docs

prepublishOnly

npm run build

artifacts

artifact_tagging

prettier

node ./scripts/prettier.js write-changed

prettier-all

node ./scripts/prettier.js write

precommit

pretty-quick --staged
npm i @uirouter/[email protected]

Metadata

  • MIT
  • Whatever
  • Unknown
  • released 5/19/2018

Downloads