From 79a68403f5b34a33b6100ccd1056798e9d019ed6 Mon Sep 17 00:00:00 2001 From: lin-xin <2981207131@qq.com> Date: Thu, 16 Feb 2017 11:35:25 +0800 Subject: [PATCH] del project --- .babelrc | 5 - .editorconfig | 9 - .gitignore | 5 - README.md | 24 -- build/build.js | 36 --- build/check-versions.js | 45 --- build/dev-client.js | 9 - build/dev-server.js | 74 ----- build/utils.js | 61 ---- build/webpack.base.conf.js | 82 ------ build/webpack.dev.conf.js | 34 --- build/webpack.prod.conf.js | 102 ------- config/dev.env.js | 6 - config/index.js | 54 ---- config/prod.env.js | 3 - config/test.env.js | 6 - index.html | 27 -- package.json | 71 ----- src/App.vue | 5 - src/assets/logo.png | Bin 6849 -> 0 bytes src/assets/mlogo.png | Bin 4920 -> 0 bytes src/assets/om-logo.png | Bin 3264 -> 0 bytes src/assets/omw.png | Bin 3788 -> 0 bytes src/components/Hello.vue | 39 --- src/components/admin/addpro.vue | 231 ---------------- src/components/admin/admin.vue | 22 -- src/components/admin/edit.vue | 228 --------------- src/components/admin/header.vue | 71 ----- src/components/admin/info.vue | 271 ------------------ src/components/admin/list.vue | 126 --------- src/components/admin/login.vue | 164 ----------- src/components/admin/regist.vue | 190 ------------- src/components/admin/sidebar.vue | 64 ----- src/components/index/footer.vue | 20 -- src/components/index/header.vue | 69 ----- src/components/index/index.vue | 30 -- src/components/index/info.vue | 73 ----- src/main.js | 41 --- static/.gitkeep | 0 static/css/admin.css | 133 --------- static/css/common.css | 43 --- static/css/index.css | 7 - static/css/normalize.css | 461 ------------------------------- static/css/normalize.min.css | 1 - test/unit/.eslintrc | 9 - test/unit/index.js | 13 - test/unit/karma.conf.js | 75 ----- test/unit/specs/Hello.spec.js | 13 - 48 files changed, 3052 deletions(-) delete mode 100644 .babelrc delete mode 100644 .editorconfig delete mode 100644 .gitignore delete mode 100644 README.md delete mode 100644 build/build.js delete mode 100644 build/check-versions.js delete mode 100644 build/dev-client.js delete mode 100644 build/dev-server.js delete mode 100644 build/utils.js delete mode 100644 build/webpack.base.conf.js delete mode 100644 build/webpack.dev.conf.js delete mode 100644 build/webpack.prod.conf.js delete mode 100644 config/dev.env.js delete mode 100644 config/index.js delete mode 100644 config/prod.env.js delete mode 100644 config/test.env.js delete mode 100644 index.html delete mode 100644 package.json delete mode 100644 src/App.vue delete mode 100644 src/assets/logo.png delete mode 100644 src/assets/mlogo.png delete mode 100644 src/assets/om-logo.png delete mode 100644 src/assets/omw.png delete mode 100644 src/components/Hello.vue delete mode 100644 src/components/admin/addpro.vue delete mode 100644 src/components/admin/admin.vue delete mode 100644 src/components/admin/edit.vue delete mode 100644 src/components/admin/header.vue delete mode 100644 src/components/admin/info.vue delete mode 100644 src/components/admin/list.vue delete mode 100644 src/components/admin/login.vue delete mode 100644 src/components/admin/regist.vue delete mode 100644 src/components/admin/sidebar.vue delete mode 100644 src/components/index/footer.vue delete mode 100644 src/components/index/header.vue delete mode 100644 src/components/index/index.vue delete mode 100644 src/components/index/info.vue delete mode 100644 src/main.js delete mode 100644 static/.gitkeep delete mode 100644 static/css/admin.css delete mode 100644 static/css/common.css delete mode 100644 static/css/index.css delete mode 100644 static/css/normalize.css delete mode 100644 static/css/normalize.min.css delete mode 100644 test/unit/.eslintrc delete mode 100644 test/unit/index.js delete mode 100644 test/unit/karma.conf.js delete mode 100644 test/unit/specs/Hello.spec.js diff --git a/.babelrc b/.babelrc deleted file mode 100644 index 41789ca..0000000 --- a/.babelrc +++ /dev/null @@ -1,5 +0,0 @@ -{ - "presets": ["es2015", "stage-2"], - "plugins": ["transform-runtime"], - "comments": false -} diff --git a/.editorconfig b/.editorconfig deleted file mode 100644 index e291365..0000000 --- a/.editorconfig +++ /dev/null @@ -1,9 +0,0 @@ -root = true - -[*] -charset = utf-8 -indent_style = space -indent_size = 4 -end_of_line = lf -insert_final_newline = true -trim_trailing_whitespace = true diff --git a/.gitignore b/.gitignore deleted file mode 100644 index b830414..0000000 --- a/.gitignore +++ /dev/null @@ -1,5 +0,0 @@ -.DS_Store -node_modules/ -dist/ -npm-debug.log -test/unit/coverage diff --git a/README.md b/README.md deleted file mode 100644 index 4183d2c..0000000 --- a/README.md +++ /dev/null @@ -1,24 +0,0 @@ -# h5works - -> A Vue.js project - -## Build Setup - -``` bash -# install dependencies -npm install - -# serve with hot reload at localhost:8080 -npm run dev - -# build for production with minification -npm run build - -# run unit tests -npm run unit - -# run all tests -npm test -``` - -For detailed explanation on how things work, checkout the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader). diff --git a/build/build.js b/build/build.js deleted file mode 100644 index b3c9aad..0000000 --- a/build/build.js +++ /dev/null @@ -1,36 +0,0 @@ -// https://github.com/shelljs/shelljs -require('./check-versions')() -require('shelljs/global') -env.NODE_ENV = 'production' - -var path = require('path') -var config = require('../config') -var ora = require('ora') -var webpack = require('webpack') -var webpackConfig = require('./webpack.prod.conf') - -console.log( - ' Tip:\n' + - ' Built files are meant to be served over an HTTP server.\n' + - ' Opening index.html over file:// won\'t work.\n' -) - -var spinner = ora('building for production...') -spinner.start() - -var assetsPath = path.join(config.build.assetsRoot, config.build.assetsSubDirectory) -rm('-rf', assetsPath) -mkdir('-p', assetsPath) -cp('-R', 'static/*', assetsPath) - -webpack(webpackConfig, function (err, stats) { - spinner.stop() - if (err) throw err - process.stdout.write(stats.toString({ - colors: true, - modules: false, - children: false, - chunks: false, - chunkModules: false - }) + '\n') -}) diff --git a/build/check-versions.js b/build/check-versions.js deleted file mode 100644 index e2b6cf7..0000000 --- a/build/check-versions.js +++ /dev/null @@ -1,45 +0,0 @@ -var semver = require('semver') -var chalk = require('chalk') -var packageConfig = require('../package.json') -var exec = function (cmd) { - return require('child_process') - .execSync(cmd).toString().trim() -} - -var versionRequirements = [ - { - name: 'node', - currentVersion: semver.clean(process.version), - versionRequirement: packageConfig.engines.node - }, - { - name: 'npm', - currentVersion: exec('npm --version'), - versionRequirement: packageConfig.engines.npm - } -] - -module.exports = function () { - var warnings = [] - for (var i = 0; i < versionRequirements.length; i++) { - var mod = versionRequirements[i] - if (!semver.satisfies(mod.currentVersion, mod.versionRequirement)) { - warnings.push(mod.name + ': ' + - chalk.red(mod.currentVersion) + ' should be ' + - chalk.green(mod.versionRequirement) - ) - } - } - - if (warnings.length) { - console.log('') - console.log(chalk.yellow('To use this template, you must update following to modules:')) - console.log() - for (var i = 0; i < warnings.length; i++) { - var warning = warnings[i] - console.log(' ' + warning) - } - console.log() - process.exit(1) - } -} diff --git a/build/dev-client.js b/build/dev-client.js deleted file mode 100644 index 18aa1e2..0000000 --- a/build/dev-client.js +++ /dev/null @@ -1,9 +0,0 @@ -/* eslint-disable */ -require('eventsource-polyfill') -var hotClient = require('webpack-hot-middleware/client?noInfo=true&reload=true') - -hotClient.subscribe(function (event) { - if (event.action === 'reload') { - window.location.reload() - } -}) diff --git a/build/dev-server.js b/build/dev-server.js deleted file mode 100644 index 38218c4..0000000 --- a/build/dev-server.js +++ /dev/null @@ -1,74 +0,0 @@ -require('./check-versions')() -var config = require('../config') -if (!process.env.NODE_ENV) process.env.NODE_ENV = JSON.parse(config.dev.env.NODE_ENV) -var path = require('path') -var express = require('express') -var webpack = require('webpack') -var opn = require('opn') -var proxyMiddleware = require('http-proxy-middleware') -var webpackConfig = process.env.NODE_ENV === 'testing' - ? require('./webpack.prod.conf') - : require('./webpack.dev.conf') - -// default port where dev server listens for incoming traffic -var port = process.env.PORT || config.dev.port -// Define HTTP proxies to your custom API backend -// https://github.com/chimurai/http-proxy-middleware -var proxyTable = config.dev.proxyTable - -var app = express() -var compiler = webpack(webpackConfig) - -var devMiddleware = require('webpack-dev-middleware')(compiler, { - publicPath: webpackConfig.output.publicPath, - stats: { - colors: true, - chunks: false - } -}) - -var hotMiddleware = require('webpack-hot-middleware')(compiler) -// force page reload when html-webpack-plugin template changes -compiler.plugin('compilation', function (compilation) { - compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) { - hotMiddleware.publish({ action: 'reload' }) - cb() - }) -}) - -// proxy api requests -Object.keys(proxyTable).forEach(function (context) { - var options = proxyTable[context] - if (typeof options === 'string') { - options = { target: options } - } - app.use(proxyMiddleware(context, options)) -}) - -// handle fallback for HTML5 history API -app.use(require('connect-history-api-fallback')()) - -// serve webpack bundle output -app.use(devMiddleware) - -// enable hot-reload and state-preserving -// compilation error display -app.use(hotMiddleware) - -// serve pure static assets -var staticPath = path.posix.join(config.dev.assetsPublicPath, config.dev.assetsSubDirectory) -app.use(staticPath, express.static('./static')) - -module.exports = app.listen(port, function (err) { - if (err) { - console.log(err) - return - } - var uri = 'http://localhost:' + port - console.log('Listening at ' + uri + '\n') - - // when env is testing, don't need open it - if (process.env.NODE_ENV !== 'testing') { - opn(uri) - } -}) diff --git a/build/utils.js b/build/utils.js deleted file mode 100644 index dc3cdd0..0000000 --- a/build/utils.js +++ /dev/null @@ -1,61 +0,0 @@ -var path = require('path') -var config = require('../config') -var ExtractTextPlugin = require('extract-text-webpack-plugin') - -exports.assetsPath = function (_path) { - var assetsSubDirectory = process.env.NODE_ENV === 'production' - ? config.build.assetsSubDirectory - : config.dev.assetsSubDirectory - return path.posix.join(assetsSubDirectory, _path) -} - -exports.cssLoaders = function (options) { - options = options || {} - // generate loader string to be used with extract text plugin - function generateLoaders (loaders) { - var sourceLoader = loaders.map(function (loader) { - var extraParamChar - if (/\?/.test(loader)) { - loader = loader.replace(/\?/, '-loader?') - extraParamChar = '&' - } else { - loader = loader + '-loader' - extraParamChar = '?' - } - return loader + (options.sourceMap ? extraParamChar + 'sourceMap' : '') - }).join('!') - - // Extract CSS when that option is specified - // (which is the case during production build) - if (options.extract) { - return ExtractTextPlugin.extract('vue-style-loader', sourceLoader) - } else { - return ['vue-style-loader', sourceLoader].join('!') - } - } - - // http://vuejs.github.io/vue-loader/en/configurations/extract-css.html - return { - css: generateLoaders(['css']), - postcss: generateLoaders(['css']), - less: generateLoaders(['css', 'less']), - sass: generateLoaders(['css', 'sass?indentedSyntax']), - scss: generateLoaders(['css', 'sass']), - stylus: generateLoaders(['css', 'stylus']), - styl: generateLoaders(['css', 'stylus']) - } -} - -// Generate loaders for standalone style files (outside of .vue) -exports.styleLoaders = function (options) { - var output = [] - var loaders = exports.cssLoaders(options) - for (var extension in loaders) { - var loader = loaders[extension] - output.push({ - test: new RegExp('\\.' + extension + '$'), - loader: loader - }) - } - return output -} diff --git a/build/webpack.base.conf.js b/build/webpack.base.conf.js deleted file mode 100644 index 37a5373..0000000 --- a/build/webpack.base.conf.js +++ /dev/null @@ -1,82 +0,0 @@ -var path = require('path') -var config = require('../config') -var utils = require('./utils') -var projectRoot = path.resolve(__dirname, '../') - -var env = process.env.NODE_ENV -// check env & config/index.js to decide weither to enable CSS Sourcemaps for the -// various preprocessor loaders added to vue-loader at the end of this file -var cssSourceMapDev = (env === 'development' && config.dev.cssSourceMap) -var cssSourceMapProd = (env === 'production' && config.build.productionSourceMap) -var useCssSourceMap = cssSourceMapDev || cssSourceMapProd - -module.exports = { - entry: { - app: './src/main.js' - }, - output: { - path: config.build.assetsRoot, - publicPath: process.env.NODE_ENV === 'production' ? config.build.assetsPublicPath : config.dev.assetsPublicPath, - filename: '[name].js' - }, - resolve: { - extensions: ['', '.js', '.vue'], - fallback: [path.join(__dirname, '../node_modules')], - alias: { - 'vue$': 'vue/dist/vue', - 'src': path.resolve(__dirname, '../src'), - 'assets': path.resolve(__dirname, '../src/assets'), - 'components': path.resolve(__dirname, '../src/components'), - 'static': path.resolve(__dirname, '../static') - } - }, - resolveLoader: { - fallback: [path.join(__dirname, '../node_modules')] - }, - module: { - loaders: [ - { - test: require.resolve('jquery'), - loader: 'expose?jQuery!expose?$' - }, - { - test: /\.vue$/, - loader: 'vue' - }, - { - test: /\.js$/, - loader: 'babel', - include: projectRoot, - exclude: /node_modules/ - }, - { - test: /\.json$/, - loader: 'json' - }, - { - test: /\.(png|jpe?g|gif|svg)(\?.*)?$/, - loader: 'url', - query: { - limit: 10000, - name: utils.assetsPath('img/[name].[hash:7].[ext]') - } - }, - { - test: /\.(woff2?|eot|ttf|otf)(\?.*)?$/, - loader: 'url', - query: { - limit: 10000, - name: utils.assetsPath('fonts/[name].[hash:7].[ext]') - } - } - ] - }, - vue: { - loaders: utils.cssLoaders({ sourceMap: useCssSourceMap }), - postcss: [ - require('autoprefixer')({ - browsers: ['last 2 versions'] - }) - ] - } -} diff --git a/build/webpack.dev.conf.js b/build/webpack.dev.conf.js deleted file mode 100644 index 7e1a104..0000000 --- a/build/webpack.dev.conf.js +++ /dev/null @@ -1,34 +0,0 @@ -var config = require('../config') -var webpack = require('webpack') -var merge = require('webpack-merge') -var utils = require('./utils') -var baseWebpackConfig = require('./webpack.base.conf') -var HtmlWebpackPlugin = require('html-webpack-plugin') - -// add hot-reload related code to entry chunks -Object.keys(baseWebpackConfig.entry).forEach(function (name) { - baseWebpackConfig.entry[name] = ['./build/dev-client'].concat(baseWebpackConfig.entry[name]) -}) - -module.exports = merge(baseWebpackConfig, { - module: { - loaders: utils.styleLoaders({ sourceMap: config.dev.cssSourceMap }) - }, - // eval-source-map is faster for development - devtool: '#eval-source-map', - plugins: [ - new webpack.DefinePlugin({ - 'process.env': config.dev.env - }), - // https://github.com/glenjamin/webpack-hot-middleware#installation--usage - new webpack.optimize.OccurenceOrderPlugin(), - new webpack.HotModuleReplacementPlugin(), - new webpack.NoErrorsPlugin(), - // https://github.com/ampedandwired/html-webpack-plugin - new HtmlWebpackPlugin({ - filename: 'index.html', - template: 'index.html', - inject: true - }) - ] -}) diff --git a/build/webpack.prod.conf.js b/build/webpack.prod.conf.js deleted file mode 100644 index 3e109bb..0000000 --- a/build/webpack.prod.conf.js +++ /dev/null @@ -1,102 +0,0 @@ -var path = require('path') -var config = require('../config') -var utils = require('./utils') -var webpack = require('webpack') -var merge = require('webpack-merge') -var baseWebpackConfig = require('./webpack.base.conf') -var ExtractTextPlugin = require('extract-text-webpack-plugin') -var HtmlWebpackPlugin = require('html-webpack-plugin') -var env = process.env.NODE_ENV === 'testing' - ? require('../config/test.env') - : config.build.env - -var webpackConfig = merge(baseWebpackConfig, { - module: { - loaders: utils.styleLoaders({ sourceMap: config.build.productionSourceMap, extract: true }) - }, - devtool: config.build.productionSourceMap ? '#source-map' : false, - output: { - path: config.build.assetsRoot, - filename: utils.assetsPath('js/[name].[chunkhash].js'), - chunkFilename: utils.assetsPath('js/[id].[chunkhash].js') - }, - vue: { - loaders: utils.cssLoaders({ - sourceMap: config.build.productionSourceMap, - extract: true - }) - }, - plugins: [ - // http://vuejs.github.io/vue-loader/en/workflow/production.html - new webpack.DefinePlugin({ - 'process.env': env - }), - new webpack.optimize.UglifyJsPlugin({ - compress: { - warnings: false - } - }), - new webpack.optimize.OccurenceOrderPlugin(), - // extract css into its own file - new ExtractTextPlugin(utils.assetsPath('css/[name].[contenthash].css')), - // generate dist index.html with correct asset hash for caching. - // you can customize output by editing /index.html - // see https://github.com/ampedandwired/html-webpack-plugin - new HtmlWebpackPlugin({ - filename: process.env.NODE_ENV === 'testing' - ? 'index.html' - : config.build.index, - template: 'index.html', - inject: true, - minify: { - removeComments: true, - collapseWhitespace: true, - removeAttributeQuotes: true - // more options: - // https://github.com/kangax/html-minifier#options-quick-reference - }, - // necessary to consistently work with multiple chunks via CommonsChunkPlugin - chunksSortMode: 'dependency' - }), - // split vendor js into its own file - new webpack.optimize.CommonsChunkPlugin({ - name: 'vendor', - minChunks: function (module, count) { - // any required modules inside node_modules are extracted to vendor - return ( - module.resource && - /\.js$/.test(module.resource) && - module.resource.indexOf( - path.join(__dirname, '../node_modules') - ) === 0 - ) - } - }), - // extract webpack runtime and module manifest to its own file in order to - // prevent vendor hash from being updated whenever app bundle is updated - new webpack.optimize.CommonsChunkPlugin({ - name: 'manifest', - chunks: ['vendor'] - }) - ] -}) - -if (config.build.productionGzip) { - var CompressionWebpackPlugin = require('compression-webpack-plugin') - - webpackConfig.plugins.push( - new CompressionWebpackPlugin({ - asset: '[path].gz[query]', - algorithm: 'gzip', - test: new RegExp( - '\\.(' + - config.build.productionGzipExtensions.join('|') + - ')$' - ), - threshold: 10240, - minRatio: 0.8 - }) - ) -} - -module.exports = webpackConfig diff --git a/config/dev.env.js b/config/dev.env.js deleted file mode 100644 index efead7c..0000000 --- a/config/dev.env.js +++ /dev/null @@ -1,6 +0,0 @@ -var merge = require('webpack-merge') -var prodEnv = require('./prod.env') - -module.exports = merge(prodEnv, { - NODE_ENV: '"development"' -}) diff --git a/config/index.js b/config/index.js deleted file mode 100644 index b92261f..0000000 --- a/config/index.js +++ /dev/null @@ -1,54 +0,0 @@ -// see http://vuejs-templates.github.io/webpack for documentation. -var path = require('path') -var domain = 'http://www.api.com'; -// var domain = 'http://api.omwteam.com/api'; -module.exports = { - build: { - env: require('./prod.env'), - index: path.resolve(__dirname, '../dist/index.html'), - assetsRoot: path.resolve(__dirname, '../dist'), - assetsSubDirectory: 'static', - assetsPublicPath: '/', - productionSourceMap: true, - // Gzip off by default as many popular static hosts such as - // Surge or Netlify already gzip all static assets for you. - // Before setting to `true`, make sure to: - // npm install --save-dev compression-webpack-plugin - productionGzip: false, - productionGzipExtensions: ['js', 'css'] - }, - dev: { - env: require('./dev.env'), - port: 8080, - assetsSubDirectory: 'static', - assetsPublicPath: '/', - proxyTable: { - '/info':{ - target: domain, - changeOrigin:true, - }, - '/user':{ - target: domain, - changeOrigin:true, - }, - '/menu':{ - target: domain, - changeOrigin:true, - }, - '/demand':{ - target: domain, - changeOrigin:true, - }, - '/upload':{ - target: domain, - changeOrigin:true, - } - }, - // CSS Sourcemaps off by default because relative paths are "buggy" - // with this option, according to the CSS-Loader README - // (https://github.com/webpack/css-loader#sourcemaps) - // In our experience, they generally work as expected, - // just be aware of this issue when enabling this option. - cssSourceMap: false - } -} diff --git a/config/prod.env.js b/config/prod.env.js deleted file mode 100644 index 773d263..0000000 --- a/config/prod.env.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports = { - NODE_ENV: '"production"' -} diff --git a/config/test.env.js b/config/test.env.js deleted file mode 100644 index 89f90de..0000000 --- a/config/test.env.js +++ /dev/null @@ -1,6 +0,0 @@ -var merge = require('webpack-merge') -var devEnv = require('./dev.env') - -module.exports = merge(devEnv, { - NODE_ENV: '"testing"' -}) diff --git a/index.html b/index.html deleted file mode 100644 index 47e40e5..0000000 --- a/index.html +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - h5works - - -
- - - diff --git a/package.json b/package.json deleted file mode 100644 index 419f995..0000000 --- a/package.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "name": "h5works", - "version": "1.0.0", - "description": "A Vue.js project", - "author": "lin-xin <2981207131@qq.com>", - "private": true, - "scripts": { - "dev": "node build/dev-server.js", - "build": "node build/build.js", - "unit": "karma start test/unit/karma.conf.js --single-run", - "test": "npm run unit" - }, - "dependencies": { - "vue": "^2.0.1", - "jquery": "^3.1.0", - "simditor":"^2.3.6" - }, - "devDependencies": { - "autoprefixer": "^6.4.0", - "babel-core": "^6.0.0", - "babel-loader": "^6.0.0", - "babel-plugin-transform-runtime": "^6.0.0", - "babel-preset-es2015": "^6.0.0", - "babel-preset-stage-2": "^6.0.0", - "babel-register": "^6.0.0", - "chai": "^3.5.0", - "chalk": "^1.1.3", - "connect-history-api-fallback": "^1.1.0", - "css-loader": "^0.25.0", - "element-ui": "^1.0.0", - "eventsource-polyfill": "^0.9.6", - "expose-loader": "^0.7.1", - "express": "^4.13.3", - "extract-text-webpack-plugin": "^1.0.1", - "file-loader": "^0.9.0", - "function-bind": "^1.0.2", - "html-webpack-plugin": "^2.8.1", - "http-proxy-middleware": "^0.17.2", - "inject-loader": "^2.0.1", - "isparta-loader": "^2.0.0", - "json-loader": "^0.5.4", - "karma": "^1.3.0", - "karma-coverage": "^1.1.1", - "karma-mocha": "^1.2.0", - "karma-phantomjs-launcher": "^1.0.0", - "karma-sinon-chai": "^1.2.0", - "karma-sourcemap-loader": "^0.3.7", - "karma-spec-reporter": "0.0.26", - "karma-webpack": "^1.7.0", - "lolex": "^1.4.0", - "mocha": "^3.1.0", - "opn": "^4.0.2", - "ora": "^0.3.0", - "semver": "^5.3.0", - "shelljs": "^0.7.4", - "sinon": "^1.17.3", - "sinon-chai": "^2.8.0", - "url-loader": "^0.5.7", - "vue-loader": "^9.4.0", - "vue-resource": "^1.0.3", - "vue-style-loader": "^1.0.0", - "webpack": "^1.13.2", - "webpack-dev-middleware": "^1.8.3", - "webpack-hot-middleware": "^2.12.2", - "webpack-merge": "^0.14.1" - }, - "engines": { - "node": ">= 4.0.0", - "npm": ">= 3.0.0" - } -} diff --git a/src/App.vue b/src/App.vue deleted file mode 100644 index bd1e1d0..0000000 --- a/src/App.vue +++ /dev/null @@ -1,5 +0,0 @@ - \ No newline at end of file diff --git a/src/assets/logo.png b/src/assets/logo.png deleted file mode 100644 index f3d2503fc2a44b5053b0837ebea6e87a2d339a43..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6849 zcmaKRcUV(fvo}bjDT-7nLI_nlK}sT_69H+`qzVWDA|yaU?}j417wLi^B1KB1SLsC& zL0ag7$U(XW5YR7p&Ux?sP$d4lvMt8C^+TcQu4F zQqv!UF!I+kw)c0jhd6+g6oCr9P?7)?!qX1ui*iL{p}sKCAGuJ{{W)0z1pLF|=>h}& zt(2Lr0Z`2ig8<5i%Zk}cO5Fm=LByqGWaS`oqChZdEFmc`0hSb#gg|Aap^{+WKOYcj zHjINK)KDG%&s?Mt4CL(T=?;~U@bU2x_mLKN!#GJuK_CzbNw5SMEJorG!}_5;?R>@1 zSl)jns3WlU7^J%=(hUtfmuUCU&C3%8B5C^f5>W2Cy8jW3#{Od{lF1}|?c61##3dzA zsPlFG;l_FzBK}8>|H_Ru_H#!_7$UH4UKo3lKOA}g1(R&|e@}GINYVzX?q=_WLZCgh z)L|eJMce`D0EIwgRaNETDsr+?vQknSGAi=7H00r`QnI%oQnFxm`G2umXso9l+8*&Q z7WqF|$p49js$mdzo^BXpH#gURy=UO;=IMrYc5?@+sR4y_?d*~0^YP7d+y0{}0)zBM zIKVM(DBvICK#~7N0a+PY6)7;u=dutmNqK3AlsrUU9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K=lJ^>uaw~CZvM~TKe{aE1$C(n4?jgazCyEG zk0iLvywb6L$23T;Z|Bj)w^2LBJOb#lVq=SnfO}kNXWLx^I`6*TeCD} zW}bx|%SzcEH4@80({IgFMJxRpOOS2CkpVHOj_dVrX>*Ft$rz-*phOS&$U2P}cLT7v z(J8!}LUC`OYN9v!ErQZ;YH^LHTNgxfH}eH>V;f`V;#f`_N2irPsXjvLd|XYemfHbV zRkwYt&PuCNDHt5jS^Tb^Z}Tjzh!w1Ixh%1({AB9%Co=ucBhbZ(a!BOn=j32;t%Y)p zuJo}a7R$#|C&obl67RNn3DAN5lOUO=CiF5luv=j7Ys}_&>NQ)xb}*Y8CQc!3Q|dYW zMM$IKV9pcKah~DjZWe(tiz|U)5W}9U{Qjb97xhM2F4kk9pSBW-U--y!wheD&wlkcJ zCTv%4eq~LZA0u#yr920j1IE_j8xnoG3r3xa=#~qV4(e)X>WAd-CxP=VcGP>7s_~iS zCf7QB#5nIw!kF{^7q`FvOG+#&)4}EU?@Q;uH`E;6=XPSsw=o{naY0NU{L6yr7-<)3 HI)(oScJbMJ diff --git a/src/assets/om-logo.png b/src/assets/om-logo.png deleted file mode 100644 index ff39516ad4aa39cd4e4a94e75854f9e28b9c73c6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3264 zcmb_fc{r478=t8TijLM(X&YlnVa8wvgAs;I4b{-tniw-LP0V6uFt$v4S|}oWku6Kf z*hRJ|OW8ssyCQoeW$GK9>YVHQzRvg0_g?Sv+|Tv<{qFm@pZj{>`wcu~v2XP%nN=VV zXf@6ZOAtM8FI^JLME4b$Q$C`{7Osg6*OKYX^&+zYkRg@n1VC_fvI{@}$W(9lr+^*^ zv>Zyavf+aV zEMwp}&CG`lSo&C4QG8q}I#j3u2BOD9iv;KZmki<2-54A+PapbC7cCkuO~av(ZxF7l zKJ?F^Y|IZqjG1fzf`n*z8_GL zH#XH7O~9Id_a(CQp~tyg78(xs^74XtX~39l7dS#kM`uYxU0qd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@bsLoLeo(JQks)76?5h|3}6SB9%Wy*$xUo)JF$GiN*E z%alSs3}>M&@5{MPH97k|s!BP1D$O7kP7O0$UP7ax?GdS8c3R^ zaU$2{LZ2xABX311!(N#c=OusSqL?W4_@AGI|K1D#ckkc2={K_=?cFwq0KnRRB6N{r S`eo<;($d`8?5>IXg?|Ee-8GE> diff --git a/src/components/Hello.vue b/src/components/Hello.vue deleted file mode 100644 index 470fd5f..0000000 --- a/src/components/Hello.vue +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - diff --git a/src/components/admin/addpro.vue b/src/components/admin/addpro.vue deleted file mode 100644 index 717676f..0000000 --- a/src/components/admin/addpro.vue +++ /dev/null @@ -1,231 +0,0 @@ - - - \ No newline at end of file diff --git a/src/components/admin/admin.vue b/src/components/admin/admin.vue deleted file mode 100644 index 7ac5566..0000000 --- a/src/components/admin/admin.vue +++ /dev/null @@ -1,22 +0,0 @@ - - - - diff --git a/src/components/admin/edit.vue b/src/components/admin/edit.vue deleted file mode 100644 index f6c7bb5..0000000 --- a/src/components/admin/edit.vue +++ /dev/null @@ -1,228 +0,0 @@ - - - \ No newline at end of file diff --git a/src/components/admin/header.vue b/src/components/admin/header.vue deleted file mode 100644 index c71cd5b..0000000 --- a/src/components/admin/header.vue +++ /dev/null @@ -1,71 +0,0 @@ - - - - diff --git a/src/components/admin/info.vue b/src/components/admin/info.vue deleted file mode 100644 index d2dd992..0000000 --- a/src/components/admin/info.vue +++ /dev/null @@ -1,271 +0,0 @@ - - - \ No newline at end of file diff --git a/src/components/admin/list.vue b/src/components/admin/list.vue deleted file mode 100644 index cb63ad0..0000000 --- a/src/components/admin/list.vue +++ /dev/null @@ -1,126 +0,0 @@ - - \ No newline at end of file diff --git a/src/components/admin/login.vue b/src/components/admin/login.vue deleted file mode 100644 index 2ca88dd..0000000 --- a/src/components/admin/login.vue +++ /dev/null @@ -1,164 +0,0 @@ - - - diff --git a/src/components/admin/regist.vue b/src/components/admin/regist.vue deleted file mode 100644 index 6c426cf..0000000 --- a/src/components/admin/regist.vue +++ /dev/null @@ -1,190 +0,0 @@ - - - diff --git a/src/components/admin/sidebar.vue b/src/components/admin/sidebar.vue deleted file mode 100644 index 198bc38..0000000 --- a/src/components/admin/sidebar.vue +++ /dev/null @@ -1,64 +0,0 @@ - - - diff --git a/src/components/index/footer.vue b/src/components/index/footer.vue deleted file mode 100644 index 4ce54f3..0000000 --- a/src/components/index/footer.vue +++ /dev/null @@ -1,20 +0,0 @@ - - - - diff --git a/src/components/index/header.vue b/src/components/index/header.vue deleted file mode 100644 index d08ab7a..0000000 --- a/src/components/index/header.vue +++ /dev/null @@ -1,69 +0,0 @@ - - - - - diff --git a/src/components/index/index.vue b/src/components/index/index.vue deleted file mode 100644 index c3b176e..0000000 --- a/src/components/index/index.vue +++ /dev/null @@ -1,30 +0,0 @@ - - - - diff --git a/src/components/index/info.vue b/src/components/index/info.vue deleted file mode 100644 index e3864ff..0000000 --- a/src/components/index/info.vue +++ /dev/null @@ -1,73 +0,0 @@ - - - diff --git a/src/main.js b/src/main.js deleted file mode 100644 index 6c79fd4..0000000 --- a/src/main.js +++ /dev/null @@ -1,41 +0,0 @@ -import Vue from 'vue' -import VueRouter from 'vue-router' -import VueResource from 'vue-resource' -import ElementUI from 'element-ui' -import 'element-ui/lib/theme-default/index.css' -import App from './App' -Vue.use(VueRouter); -Vue.use(VueResource); -Vue.use(ElementUI); -Vue.http.options.emulateJSON = true; -const router = new VueRouter({ - routes:[ - //重定向到admin页面 - { path: '/', redirect: '/admin/taskList' }, - { path: '/login', component: resolve => require(['./components/admin/login.vue'], resolve) }, - { path: '/regist', component: resolve => require(['./components/admin/regist.vue'], resolve) }, - { path: '/admin', component: resolve => require(['./components/admin/admin.vue'], resolve) , - - //子路由 - children:[ - { path: 'taskList', component: resolve => require(['./components/admin/list.vue'], resolve) }, - { path: 'taskEdit', component: resolve => require(['./components/admin/edit.vue'], resolve) }, - { path: 'moduleInfo', component: resolve => require(['./components/admin/info.vue'], resolve) }, - { path: 'addProject', component: resolve => require(['./components/admin/addpro.vue'], resolve) }, - ] - }, - { path: '/index', component: function (resolve) { require(['./components/index/index.vue'], resolve) }, - children:[ - { path: 'proInfo', component: function (resolve) { require(['./components/admin/list.vue'], resolve) } }, - { path: 'demand', component: function (resolve) { require(['./components/admin/edit.vue'], resolve) } }, - { path: 'aboutus', component: function (resolve) { require(['./components/admin/info.vue'], resolve) } }, - ] - } - ] -}); - -const app = new Vue({ - router, - render: h => h(App), -}).$mount('#app'); - diff --git a/static/.gitkeep b/static/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/static/css/admin.css b/static/css/admin.css deleted file mode 100644 index 63e6507..0000000 --- a/static/css/admin.css +++ /dev/null @@ -1,133 +0,0 @@ -*{margin:0;padding:0;} -body{ - font-family:"Helvetica Neue",Helvetica, "microsoft yahei", arial, STHeiTi, sans-serif; -} -a{text-decoration: none} -.wrapper{ - background: #2E363F; -} -.content{ - background: none repeat scroll 0 0 #f3f3f3; - position: absolute; - left: 220px; - right: 0; - top: 70px; - bottom:0; - width: auto; - padding:30px; - box-sizing: border-box; - overflow-y: scroll; -} -.widget-box{ - max-width: 1200px; - background: none repeat scroll 0 0 #F9F9F9; - border-left: 1px solid #F0F8FF; - border-top: 2px solid #27a9e3; - border-right: 2px solid #cdcdcd; - clear: both; - margin:0 auto 30px; - position: relative; -} -.widget-box:hover{ - box-shadow: 0 2px 7px rgba(0,0,0,.15); -} -.widget-title{ - background: #efefef; - border-bottom: 1px solid #F0F8FF; - height: 40px; -} -.widget-title h5 { - color: #666; - padding: 12px; - margin: 0; - font-weight: normal; -} -.widget-content { - padding:25px; - border-bottom: 2px solid #cdcdcd; -} -.widget-box .el-select, -.widget-box .el-input, -.widget-box .el-upload, -.widget-box .el-tooltip{ - display: inline-block; -} -.el-button+.el-tooltip { - margin-left: 10px; -} -.el-table td,.el-table th{ - padding:5px 18px; -} -.el-table tr:hover{ - background: #f6faff; -} -.page-box{ - margin-top: 20px; - text-align: right; -} -.page-box .el-pagination{ - background: #f9f9f9; -} -.mgb20{ - margin-bottom: 15px; -} -.mgb5{ - margin-bottom: 5px; -} -.dialog{ - position: fixed; - top: 0; - right: 0; - bottom: 0; - left: 0; - overflow: auto; - background: rgba(0,0,0,.4); - z-index:-1; - opacity: 0; - transition: all .5s ease; -} -.dialog.dialog-show{ - opacity: 1; - z-index: 1000; -} -.dialog .dialog-wrapper{ - position: absolute; - left: 50%; - top: 15%; - width: 50%; - transform: translateX(-50%); - background: #fff; - border-radius: 2px; - box-shadow: 0 1px 3px rgba(0,0,0,.3); - box-sizing: border-box; - transition: top .5s ease; -} -.dialog.dialog-show .dialog-wrapper{ - top: 17%; -} -.dialog .dialog-header{ - padding: 20px 20px 0; -} -.dialog .dialog-content{ - padding: 30px 20px; - color: #475669; - font-size: 14px; -} -.dialog .dialog-close{ - float: right; - cursor: pointer; - color: #c0ccda; -} -.dialog .dialog-close:hover{ - color: #20a0ff; - animation: close-rotate .3s ease; - -} -@keyframes close-rotate { - from{ - transform: rotate(-360deg); - } -} -.el-upload__files{ - display: none; -} \ No newline at end of file diff --git a/static/css/common.css b/static/css/common.css deleted file mode 100644 index dad1da5..0000000 --- a/static/css/common.css +++ /dev/null @@ -1,43 +0,0 @@ -.container { - padding-right: 15px; - padding-left: 15px; - margin-right: auto; - margin-left: auto; -} -@media (min-width: 768px) { - .container { - width: 750px; - } -} -@media (min-width: 992px) { - .container { - width: 970px; - } -} -@media (min-width: 1200px) { - .container { - width: 1170px; - } -} -.container-fluid { - /*padding-right: 15px;*/ - /*padding-left: 15px;*/ - margin-right: auto; - margin-left: auto; -} -.clearfix:before, .clearfix:after { - content: " "; - display: table; -} -.clearfix:after { - clear: both; -} -.pull-left { - float: left; -} -.pull-right { - float: right; -} -.text-center { - text-align: center; -} diff --git a/static/css/index.css b/static/css/index.css deleted file mode 100644 index d503f91..0000000 --- a/static/css/index.css +++ /dev/null @@ -1,7 +0,0 @@ -.nav-bar { - background-color: #eff2f7; -} - -.logo { - -} diff --git a/static/css/normalize.css b/static/css/normalize.css deleted file mode 100644 index 99e000d..0000000 --- a/static/css/normalize.css +++ /dev/null @@ -1,461 +0,0 @@ -/*! normalize.css v5.0.0 | MIT License | github.com/necolas/normalize.css */ - -/** - * 1. Change the default font family in all browsers (opinionated). - * 2. Correct the line height in all browsers. - * 3. Prevent adjustments of font size after orientation changes in - * IE on Windows Phone and in iOS. - */ - -/* Document - ========================================================================== */ - -html { - font-family: sans-serif; /* 1 */ - line-height: 1.15; /* 2 */ - -ms-text-size-adjust: 100%; /* 3 */ - -webkit-text-size-adjust: 100%; /* 3 */ -} - -/* Sections - ========================================================================== */ - -/** - * Remove the margin in all browsers (opinionated). - */ - -body { - margin: 0; -} - -/** - * Add the correct display in IE 9-. - */ - -article, -aside, -footer, -header, -nav, -section { - display: block; -} - -/** - * Correct the font size and margin on `h1` elements within `section` and - * `article` contexts in Chrome, Firefox, and Safari. - */ - -h1 { - font-size: 2em; - margin: 0.67em 0; -} - -/* Grouping content - ========================================================================== */ - -/** - * Add the correct display in IE 9-. - * 1. Add the correct display in IE. - */ - -figcaption, -figure, -main { /* 1 */ - display: block; -} - -/** - * Add the correct margin in IE 8. - */ - -figure { - margin: 1em 40px; -} - -/** - * 1. Add the correct box sizing in Firefox. - * 2. Show the overflow in Edge and IE. - */ - -hr { - box-sizing: content-box; /* 1 */ - height: 0; /* 1 */ - overflow: visible; /* 2 */ -} - -/** - * 1. Correct the inheritance and scaling of font size in all browsers. - * 2. Correct the odd `em` font sizing in all browsers. - */ - -pre { - font-family: monospace, monospace; /* 1 */ - font-size: 1em; /* 2 */ -} - -/* Text-level semantics - ========================================================================== */ - -/** - * 1. Remove the gray background on active links in IE 10. - * 2. Remove gaps in links underline in iOS 8+ and Safari 8+. - */ - -a { - background-color: transparent; /* 1 */ - -webkit-text-decoration-skip: objects; /* 2 */ -} - -/** - * Remove the outline on focused links when they are also active or hovered - * in all browsers (opinionated). - */ - -a:active, -a:hover { - outline-width: 0; -} - -/** - * 1. Remove the bottom border in Firefox 39-. - * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari. - */ - -abbr[title] { - border-bottom: none; /* 1 */ - text-decoration: underline; /* 2 */ - text-decoration: underline dotted; /* 2 */ -} - -/** - * Prevent the duplicate application of `bolder` by the next rule in Safari 6. - */ - -b, -strong { - font-weight: inherit; -} - -/** - * Add the correct font weight in Chrome, Edge, and Safari. - */ - -b, -strong { - font-weight: bolder; -} - -/** - * 1. Correct the inheritance and scaling of font size in all browsers. - * 2. Correct the odd `em` font sizing in all browsers. - */ - -code, -kbd, -samp { - font-family: monospace, monospace; /* 1 */ - font-size: 1em; /* 2 */ -} - -/** - * Add the correct font style in Android 4.3-. - */ - -dfn { - font-style: italic; -} - -/** - * Add the correct background and color in IE 9-. - */ - -mark { - background-color: #ff0; - color: #000; -} - -/** - * Add the correct font size in all browsers. - */ - -small { - font-size: 80%; -} - -/** - * Prevent `sub` and `sup` elements from affecting the line height in - * all browsers. - */ - -sub, -sup { - font-size: 75%; - line-height: 0; - position: relative; - vertical-align: baseline; -} - -sub { - bottom: -0.25em; -} - -sup { - top: -0.5em; -} - -/* Embedded content - ========================================================================== */ - -/** - * Add the correct display in IE 9-. - */ - -audio, -video { - display: inline-block; -} - -/** - * Add the correct display in iOS 4-7. - */ - -audio:not([controls]) { - display: none; - height: 0; -} - -/** - * Remove the border on images inside links in IE 10-. - */ - -img { - border-style: none; -} - -/** - * Hide the overflow in IE. - */ - -svg:not(:root) { - overflow: hidden; -} - -/* Forms - ========================================================================== */ - -/** - * 1. Change the font styles in all browsers (opinionated). - * 2. Remove the margin in Firefox and Safari. - */ - -button, -input, -optgroup, -select, -textarea { - font-family: sans-serif; /* 1 */ - font-size: 100%; /* 1 */ - line-height: 1.15; /* 1 */ - margin: 0; /* 2 */ -} - -/** - * Show the overflow in IE. - * 1. Show the overflow in Edge. - */ - -button, -input { /* 1 */ - overflow: visible; -} - -/** - * Remove the inheritance of text transform in Edge, Firefox, and IE. - * 1. Remove the inheritance of text transform in Firefox. - */ - -button, -select { /* 1 */ - text-transform: none; -} - -/** - * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video` - * controls in Android 4. - * 2. Correct the inability to style clickable types in iOS and Safari. - */ - -button, -html [type="button"], /* 1 */ -[type="reset"], -[type="submit"] { - -webkit-appearance: button; /* 2 */ -} - -/** - * Remove the inner border and padding in Firefox. - */ - -button::-moz-focus-inner, -[type="button"]::-moz-focus-inner, -[type="reset"]::-moz-focus-inner, -[type="submit"]::-moz-focus-inner { - border-style: none; - padding: 0; -} - -/** - * Restore the focus styles unset by the previous rule. - */ - -button:-moz-focusring, -[type="button"]:-moz-focusring, -[type="reset"]:-moz-focusring, -[type="submit"]:-moz-focusring { - outline: 1px dotted ButtonText; -} - -/** - * Change the border, margin, and padding in all browsers (opinionated). - */ - -fieldset { - border: 1px solid #c0c0c0; - margin: 0 2px; - padding: 0.35em 0.625em 0.75em; -} - -/** - * 1. Correct the text wrapping in Edge and IE. - * 2. Correct the color inheritance from `fieldset` elements in IE. - * 3. Remove the padding so developers are not caught out when they zero out - * `fieldset` elements in all browsers. - */ - -legend { - box-sizing: border-box; /* 1 */ - color: inherit; /* 2 */ - display: table; /* 1 */ - max-width: 100%; /* 1 */ - padding: 0; /* 3 */ - white-space: normal; /* 1 */ -} - -/** - * 1. Add the correct display in IE 9-. - * 2. Add the correct vertical alignment in Chrome, Firefox, and Opera. - */ - -progress { - display: inline-block; /* 1 */ - vertical-align: baseline; /* 2 */ -} - -/** - * Remove the default vertical scrollbar in IE. - */ - -textarea { - overflow: auto; -} - -/** - * 1. Add the correct box sizing in IE 10-. - * 2. Remove the padding in IE 10-. - */ - -[type="checkbox"], -[type="radio"] { - box-sizing: border-box; /* 1 */ - padding: 0; /* 2 */ -} - -/** - * Correct the cursor style of increment and decrement buttons in Chrome. - */ - -[type="number"]::-webkit-inner-spin-button, -[type="number"]::-webkit-outer-spin-button { - height: auto; -} - -/** - * 1. Correct the odd appearance in Chrome and Safari. - * 2. Correct the outline style in Safari. - */ - -[type="search"] { - -webkit-appearance: textfield; /* 1 */ - outline-offset: -2px; /* 2 */ -} - -/** - * Remove the inner padding and cancel buttons in Chrome and Safari on macOS. - */ - -[type="search"]::-webkit-search-cancel-button, -[type="search"]::-webkit-search-decoration { - -webkit-appearance: none; -} - -/** - * 1. Correct the inability to style clickable types in iOS and Safari. - * 2. Change font properties to `inherit` in Safari. - */ - -::-webkit-file-upload-button { - -webkit-appearance: button; /* 1 */ - font: inherit; /* 2 */ -} - -/* Interactive - ========================================================================== */ - -/* - * Add the correct display in IE 9-. - * 1. Add the correct display in Edge, IE, and Firefox. - */ - -details, /* 1 */ -menu { - display: block; -} - -/* - * Add the correct display in all browsers. - */ - -summary { - display: list-item; -} - -/* Scripting - ========================================================================== */ - -/** - * Add the correct display in IE 9-. - */ - -canvas { - display: inline-block; -} - -/** - * Add the correct display in IE. - */ - -template { - display: none; -} - -/* Hidden - ========================================================================== */ - -/** - * Add the correct display in IE 10-. - */ - -[hidden] { - display: none; -} diff --git a/static/css/normalize.min.css b/static/css/normalize.min.css deleted file mode 100644 index 452a01f..0000000 --- a/static/css/normalize.min.css +++ /dev/null @@ -1 +0,0 @@ -button,hr,input{overflow:visible}audio,canvas,progress,video{display:inline-block}progress,sub,sup{vertical-align:baseline}html{font-family:sans-serif;line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0} menu,article,aside,details,footer,header,nav,section{display:block}h1{font-size:2em;margin:.67em 0}figcaption,figure,main{display:block}figure{margin:1em 40px}hr{box-sizing:content-box;height:0}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}a{background-color:transparent;-webkit-text-decoration-skip:objects}a:active,a:hover{outline-width:0}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}dfn{font-style:italic}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}audio:not([controls]){display:none;height:0}img{border-style:none}svg:not(:root){overflow:hidden}button,input,optgroup,select,textarea{font-family:sans-serif;font-size:100%;line-height:1.15;margin:0}button,input{}button,select{text-transform:none}[type=submit], [type=reset],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:ButtonText dotted 1px}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}[hidden],template{display:none}/*# sourceMappingURL=normalize.min.css.map */ diff --git a/test/unit/.eslintrc b/test/unit/.eslintrc deleted file mode 100644 index 959a4f4..0000000 --- a/test/unit/.eslintrc +++ /dev/null @@ -1,9 +0,0 @@ -{ - "env": { - "mocha": true - }, - "globals": { - "expect": true, - "sinon": true - } -} diff --git a/test/unit/index.js b/test/unit/index.js deleted file mode 100644 index 03b19e3..0000000 --- a/test/unit/index.js +++ /dev/null @@ -1,13 +0,0 @@ -// Polyfill fn.bind() for PhantomJS -/* eslint-disable no-extend-native */ -Function.prototype.bind = require('function-bind') - -// require all test files (files that ends with .spec.js) -const testsContext = require.context('./specs', true, /\.spec$/) -testsContext.keys().forEach(testsContext) - -// require all src files except main.js for coverage. -// you can also change this to match only the subset of files that -// you want coverage for. -const srcContext = require.context('../../src', true, /^\.\/(?!main(\.js)?$)/) -srcContext.keys().forEach(srcContext) diff --git a/test/unit/karma.conf.js b/test/unit/karma.conf.js deleted file mode 100644 index 048b729..0000000 --- a/test/unit/karma.conf.js +++ /dev/null @@ -1,75 +0,0 @@ -// This is a karma config file. For more details see -// http://karma-runner.github.io/0.13/config/configuration-file.html -// we are also using it with karma-webpack -// https://github.com/webpack/karma-webpack - -var path = require('path') -var merge = require('webpack-merge') -var baseConfig = require('../../build/webpack.base.conf') -var utils = require('../../build/utils') -var webpack = require('webpack') -var projectRoot = path.resolve(__dirname, '../../') - -var webpackConfig = merge(baseConfig, { - // use inline sourcemap for karma-sourcemap-loader - module: { - loaders: utils.styleLoaders() - }, - devtool: '#inline-source-map', - vue: { - loaders: { - js: 'isparta' - } - }, - plugins: [ - new webpack.DefinePlugin({ - 'process.env': require('../../config/test.env') - }) - ] -}) - -// no need for app entry during tests -delete webpackConfig.entry - -// make sure isparta loader is applied before eslint -webpackConfig.module.preLoaders = webpackConfig.module.preLoaders || [] -webpackConfig.module.preLoaders.unshift({ - test: /\.js$/, - loader: 'isparta', - include: path.resolve(projectRoot, 'src') -}) - -// only apply babel for test files when using isparta -webpackConfig.module.loaders.some(function (loader, i) { - if (loader.loader === 'babel') { - loader.include = path.resolve(projectRoot, 'test/unit') - return true - } -}) - -module.exports = function (config) { - config.set({ - // to run in additional browsers: - // 1. install corresponding karma launcher - // http://karma-runner.github.io/0.13/config/browsers.html - // 2. add it to the `browsers` array below. - browsers: ['PhantomJS'], - frameworks: ['mocha', 'sinon-chai'], - reporters: ['spec', 'coverage'], - files: ['./index.js'], - preprocessors: { - './index.js': ['webpack', 'sourcemap'] - }, - webpack: webpackConfig, - webpackMiddleware: { - noInfo: true - }, - coverageReporter: { - dir: './coverage', - reporters: [ - { type: 'lcov', subdir: '.' }, - { type: 'text-summary' } - ] - } - }) -} diff --git a/test/unit/specs/Hello.spec.js b/test/unit/specs/Hello.spec.js deleted file mode 100644 index a6965db..0000000 --- a/test/unit/specs/Hello.spec.js +++ /dev/null @@ -1,13 +0,0 @@ -import Vue from 'vue' -import Hello from 'src/components/Hello' - -describe('Hello.vue', () => { - it('should render correct contents', () => { - const vm = new Vue({ - el: document.createElement('div'), - render: (h) => h(Hello) - }) - expect(vm.$el.querySelector('.hello h1').textContent) - .to.equal('Welcome to Your Vue.js App') - }) -}) -- GitLab