Update dependencies
parent
4b7d82ddfd
commit
1749f70409
|
@ -2,6 +2,7 @@ const fs = require('fs-extra');
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
const { execSync } = require('child_process');
|
const { execSync } = require('child_process');
|
||||||
const vueCliServicePath = path.resolve(__dirname, 'node_modules/@vue/cli-service/bin/vue-cli-service');
|
const vueCliServicePath = path.resolve(__dirname, 'node_modules/@vue/cli-service/bin/vue-cli-service');
|
||||||
|
const babelPath = path.resolve(__dirname, 'node_modules/@babel/cli/bin/babel');
|
||||||
|
|
||||||
fs.readdirSync(path.resolve(__dirname, './src/components/')).forEach(folder => {
|
fs.readdirSync(path.resolve(__dirname, './src/components/')).forEach(folder => {
|
||||||
fs.readdirSync(path.resolve(__dirname, './src/components/' + folder)).forEach(file => {
|
fs.readdirSync(path.resolve(__dirname, './src/components/' + folder)).forEach(file => {
|
||||||
|
@ -21,7 +22,7 @@ fs.readdirSync(path.resolve(__dirname, './src/components/')).forEach(folder => {
|
||||||
)
|
)
|
||||||
|
|
||||||
execSync(
|
execSync(
|
||||||
`babel --no-babelrc src/components/${folder}/${file} --out-file components/${folder}/${file} --presets=es2015,stage-2 `
|
`${babelPath} --no-babelrc src/components/${folder}/${file} --out-file components/${folder}/${file} --presets=es2015,stage-2 `
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
34
package.json
34
package.json
|
@ -16,38 +16,34 @@
|
||||||
"test:unit": "vue-cli-service test:unit"
|
"test:unit": "vue-cli-service test:unit"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"core-js": "^2.6.5",
|
||||||
"vue": "^2.6.10",
|
"vue": "^2.6.10",
|
||||||
"vue-router": "^3.0.1",
|
"vue-router": "^3.0.1",
|
||||||
|
"vue-template-compiler": "^2.5.21",
|
||||||
|
"@babel/cli": "^7.4.4",
|
||||||
"@vue/cli-plugin-babel": "^3.2.0",
|
"@vue/cli-plugin-babel": "^3.2.0",
|
||||||
"@vue/cli-plugin-eslint": "^3.2.0",
|
"@vue/cli-plugin-eslint": "^3.2.0",
|
||||||
"@vue/cli-plugin-unit-jest": "^3.2.0",
|
|
||||||
"@vue/cli-service": "^3.2.0",
|
"@vue/cli-service": "^3.2.0",
|
||||||
"@vue/test-utils": "^1.0.0-beta.20",
|
"axios": "^0.15.3",
|
||||||
"babel-core": "7.0.0-bridge.0",
|
|
||||||
"babel-eslint": "^10.0.1",
|
"babel-eslint": "^10.0.1",
|
||||||
"babel-jest": "^23.6.0",
|
"chart.js": "2.7.3",
|
||||||
"babel-preset-es2015": "^6.24.1",
|
|
||||||
"babel-preset-stage-2": "^6.24.1",
|
|
||||||
"eslint": "^5.8.0",
|
"eslint": "^5.8.0",
|
||||||
"eslint-plugin-vue": "^5.0.0-0",
|
"eslint-plugin-vue": "^5.0.0-0",
|
||||||
"node-sass": "^4.9.0",
|
|
||||||
"sass-loader": "^7.0.1",
|
|
||||||
"vue-template-compiler": "^2.5.17",
|
|
||||||
"primeicons": "1.0.0",
|
|
||||||
"primeflex": "1.0.0-rc.1",
|
|
||||||
"axios": "^0.15.3",
|
|
||||||
"quill": "1.3.3",
|
|
||||||
"@fullcalendar/core": "4.0.2",
|
|
||||||
"@fullcalendar/daygrid": "4.0.1",
|
|
||||||
"@fullcalendar/interaction": "4.0.2",
|
|
||||||
"@fullcalendar/timegrid": "4.0.1",
|
|
||||||
"chart.js": "2.7.3",
|
|
||||||
"gulp": "^3.9.1",
|
"gulp": "^3.9.1",
|
||||||
"gulp-concat": "^2.6.0",
|
"gulp-concat": "^2.6.0",
|
||||||
"gulp-flatten": "^0.2.0",
|
"gulp-flatten": "^0.2.0",
|
||||||
"gulp-rename": "^1.2.2",
|
"gulp-rename": "^1.2.2",
|
||||||
"gulp-uglify": "^1.5.3",
|
"gulp-uglify": "^1.5.3",
|
||||||
"gulp-uglifycss": "^1.0.6",
|
"gulp-uglifycss": "^1.0.6",
|
||||||
"prismjs": "^1.15.0"
|
"primeflex": "1.0.0-rc.1",
|
||||||
|
"primeicons": "1.0.0",
|
||||||
|
"prismjs": "^1.15.0",
|
||||||
|
"quill": "1.3.3",
|
||||||
|
"@fullcalendar/core": "4.0.2",
|
||||||
|
"@fullcalendar/daygrid": "4.0.1",
|
||||||
|
"@fullcalendar/interaction": "4.0.2",
|
||||||
|
"@fullcalendar/timegrid": "4.0.1",
|
||||||
|
"sass-loader": "^7.0.1",
|
||||||
|
"node-sass": "^4.9.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue