diff --git a/package.json b/package.json index b02e08ae54..51f3451297 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,8 @@ "build": "run-s flow.clean flow.compile", "disable-prestart": "chokidar 'src/**/*.ts' -c \"npm run build\" --initial", "start": "ng serve", - "pretest": "npm run flow.lint", + "build:copy": "cpy '**/*.*' ../node_modules/ng2-bootstrap --cwd=dist --parents", + "pretest": "run-s flow.lint build:copy", "test": "ng test --watch false", "test:watch": "ng test", "preversion": "npm test", @@ -76,6 +77,8 @@ "conventional-changelog-cli": "1.2.0", "conventional-github-releaser": "1.1.3", "core-js": "2.4.1", + "cpy": "4.0.1", + "cpy-cli": "1.0.1", "del-cli": "0.2.0", "gitignore-to-glob": "0.3.0", "google-code-prettify": "1.0.5", @@ -94,7 +97,7 @@ "markdown-loader": "github:valorkin/markdown-loader", "marked": "0.3.6", "npm-run-all": "3.1.1", - "npm-submodules": "0.1.0", + "npm-submodules": "0.1.4", "pre-commit": "1.1.3", "protractor": "4.0.11", "reflect-metadata": "0.1.8", diff --git a/src/tsconfig.json b/src/tsconfig.json index 235ff67beb..1fb007aadc 100644 --- a/src/tsconfig.json +++ b/src/tsconfig.json @@ -1,6 +1,6 @@ { "compilerOptions": { - "outDir": "../node_modules/ng2-bootstrap", + "outDir": "../dist", "target": "es5", "module": "commonjs", "moduleResolution": "node",