chore(): updated npm run command and updated stencil config.

This commit is contained in:
Josh Thomas
2017-07-17 13:37:46 -05:00
parent 869a6edfd5
commit f7bba4b7fa
3 changed files with 8 additions and 8 deletions

View File

@ -5,9 +5,9 @@
"requires": true, "requires": true,
"dependencies": { "dependencies": {
"@stencil/core": { "@stencil/core": {
"version": "0.0.2-4", "version": "0.0.2-5",
"resolved": "https://registry.npmjs.org/@stencil/core/-/core-0.0.2-4.tgz", "resolved": "https://registry.npmjs.org/@stencil/core/-/core-0.0.2-5.tgz",
"integrity": "sha512-z7F0XddcjpiImJ6wszKwfcZsrSDd0ejdvTt1Z9v41WyQLDNmMKO3sWy0MBtr6hKizHeaQa8oAeJXkjuWCoBCsQ==", "integrity": "sha512-HaiMbhx6PtXgwJWty0nd+GXAz3KPFXF4KaldtcsAI6a39CNxoarb3bI9fGkat1SXddijBlitgGRM8hFxGUSbyQ==",
"requires": { "requires": {
"chalk": "1.1.3", "chalk": "1.1.3",
"chokidar": "1.7.0", "chokidar": "1.7.0",

View File

@ -5,7 +5,7 @@
"main": "dist/collection/collection-manifest.json", "main": "dist/collection/collection-manifest.json",
"scripts": { "scripts": {
"build": "npm run copy.vendor && stencil build --prod", "build": "npm run copy.vendor && stencil build --prod",
"dev": "npm run copy.vendor && concurrently \"stencil build --watch --debug\" \"stencil-dev-server\"", "dev": "concurrently --raw \"stencil build --watch --debug\" \"stencil-dev-server\"",
"copy.vendor": "mkdir -p ./dist/collection/vendor && cp -Rf ./src/vendor ./dist/collection", "copy.vendor": "mkdir -p ./dist/collection/vendor && cp -Rf ./src/vendor ./dist/collection",
"link.stencil": "npm link @stencil/core", "link.stencil": "npm link @stencil/core",
"test": "jest" "test": "jest"
@ -15,7 +15,7 @@
"url": "git+https://github.com/ionic-team/ionic.git" "url": "git+https://github.com/ionic-team/ionic.git"
}, },
"dependencies": { "dependencies": {
"@stencil/core": "0.0.2-4" "@stencil/core": "0.0.2-5"
}, },
"devDependencies": { "devDependencies": {
"@stencil/dev-server": "0.0.9", "@stencil/dev-server": "0.0.9",

View File

@ -23,6 +23,6 @@ exports.config = {
preamble: '(C) Ionic http://ionicframework.com - MIT License' preamble: '(C) Ionic http://ionicframework.com - MIT License'
}; };
exports.devServer = { exports.devServerConfig = {
watchGlob: ['demos/**/*', '/dist/***/*', 'src/**/*.html'] watchGlob: ['dist/**/*.*', 'src/**/*.html']
} };