diff --git a/package.json b/package.json index f82a124a..ee42f6e4 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,12 @@ { "name": "ui-router-core", "description": "UI-Router Core: Framework agnostic, State-based routing for JavaScript Single Page Apps", - "version": "3.1.1", + "version": "4.0.0", "scripts": { "clean": "shx rm -rf lib lib-esm", "build": "npm run clean && tsc && tsc -m es6 --outDir lib-esm && npm run fixdts", "fixdts": "dts-downlevel 'lib/**/*.d.ts' 'lib-esm/**/*.d.ts'", + "prepublish": "npm run build", "test": "karma start", "watch": "run-p watch:*", "watch:buildjs": "tsc -w", diff --git a/src/index.ts b/src/index.ts index 3b84e0c7..634f9861 100644 --- a/src/index.ts +++ b/src/index.ts @@ -14,4 +14,5 @@ export * from "./view/index"; export * from "./globals"; export * from "./router"; +export * from "./vanilla"; export * from "./interface"; diff --git a/src/vanilla/index.ts b/src/vanilla/index.ts index 5ced5d00..18538a38 100644 --- a/src/vanilla/index.ts +++ b/src/vanilla/index.ts @@ -6,6 +6,8 @@ * @module vanilla */ /** */ +export * from "./interface"; + export * from "./$q"; export * from "./$injector"; @@ -17,4 +19,5 @@ export * from "./pushStateLocationService"; export * from "./memoryLocationConfig"; export * from "./browserLocationConfig"; +export * from "./utils"; export * from "./plugins";