|
4 | 4 | "version": "5.0.5",
|
5 | 5 | "scripts": {
|
6 | 6 | "clean": "shx rm -rf lib lib-esm _bundles",
|
7 |
| - "build": "npm run clean && tsc && tsc -m es6 --outDir lib-esm && npm run fixdts && npm run bundle", |
| 7 | + "build": "npm run clean && tsc && tsc -m es6 --outDir lib-esm && npm run fixdts && npm run bundle && npm run fixmaps", |
8 | 8 | "bundle": "rollup -c && rollup -c --environment MINIFY",
|
9 | 9 | "fixdts": "dts-downlevel 'lib/**/*.d.ts' 'lib-esm/**/*.d.ts'",
|
10 |
| - "install": "node ./migrate/migratewarn.js", |
| 10 | + "fixmaps": "node scripts/modify_sourcemap_paths.js", |
| 11 | + "install": "node migrate/migratewarn.js", |
11 | 12 | "prepare": "npm run build",
|
12 | 13 | "test": "karma start",
|
13 | 14 | "watch": "run-p watch:*",
|
|
55 | 56 | "engines": {
|
56 | 57 | "node": ">=4.0.0"
|
57 | 58 | },
|
| 59 | + "main": "_bundles/ui-router-core.js", |
58 | 60 | "jsnext:main": "lib-esm/index.js",
|
59 |
| - "main": "lib/index.js", |
60 | 61 | "typings": "lib/index.d.ts",
|
61 | 62 | "license": "MIT",
|
62 | 63 | "devDependencies": {
|
|
68 | 69 | "conventional-changelog-ui-router-core": "^1.4.1",
|
69 | 70 | "core-js": "^2.4.1",
|
70 | 71 | "dts-downlevel": "^0.3.0",
|
| 72 | + "glob": "^7.1.2", |
71 | 73 | "jasmine-core": "^2.4.1",
|
72 | 74 | "karma": "^1.2.0",
|
73 | 75 | "karma-chrome-launcher": "~0.1.0",
|
|
0 commit comments