angular-ui-router

v1.0.30
State-based routing for AngularJS 1.x

clean

shx rm -rf lib lib-esm _doc build release *.log

compile

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

fixdts

dts-downlevel 'lib/**/*.d.ts' 'lib-esm/**/*.d.ts'

fixmaps:lib

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

fixmaps:bundle

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

build

npm run clean && npm run compile && npm run bundle && npm run fixmaps:lib && npm run fixmaps:bundle

lint

eslint src/**/*.ts

package

npm run build

bundle

npm run bundle_router && npm run bundle_monolithic_router && npm run bundle_events && npm run bundle_resolve

bundle_monolithic_router

rollup -c --environment ROUTER,MONOLITHIC && rollup -c --environment ROUTER,MINIFY,MONOLITHIC

bundle_router

rollup -c --environment ROUTER && rollup -c --environment ROUTER,MINIFY

bundle_events

rollup -c --environment EVENTS && rollup -c --environment EVENTS,MINIFY

bundle_resolve

rollup -c --environment RESOLVE && rollup -c --environment RESOLVE,MINIFY

test

tsc && NG=1.7 jest && NG=1.6 jest && NG=1.5 jest && NG=1.4 jest && NG=1.3 jest && NG=1.2 jest

test:debug

node --inspect ./node_modules/.bin/jest --runInBand --watch

test:ng12

NG=1.2 jest

test:ng13

NG=1.3 jest

test:ng14

NG=1.4 jest

test:ng15

NG=1.5 jest

test:ng16

NG=1.6 jest

test:ng17

NG=1.7 jest

test:downstream

test_downstream_projects

watch

jest --watch

debug

npm run test:debug

docs

generate_docs

docs:publish

generate_docs && publish_docs

release

release --deps @uirouter/core && node ./scripts/npm_angular_ui_router_release.js && node ./scripts/bower_release.js

prepublishOnly

npm run build

artifacts

artifact_tagging
npm i angular-ui-router

Metadata

  • MIT
  • >=4.0.0
  • Unknown
  • released 12/1/2021

Downloads