),\n use: loader\n })\n }\n\n return output\n}\n\nexports.createNotifierCallback = () =\u003E {\n const notifier = require('node-notifier')\n\n return (severity, errors) =\u003E {\n if (severity !== 'error') return\n\n const error = errors[0]\n const filename = error.file && error.file.split('!').pop()\n\n notifier.notify({\n title: packageConfig.name,\n message: severity + ': ' + error.name,\n subtitle: filename || '',\n icon: path.join(__dirname, 'logo.png')\n })\n }\n}\n","id":"90f04367-d5b4-4cad-8b3d-032754259e0c","is_binary":false,"title":"utils.js","sha":null,"inserted_at":"2023-03-16T01:47:20","updated_at":"2023-03-16T01:47:20","upload_id":null,"shortid":"B1n-Nrellh","source_id":"a66cfa89-ba0a-42f4-ab92-9b716182e7f5","directory_shortid":"By-NBexx2"},{"code":"'use strict'\nconst utils = require('.\u002Futils')\nconst config = require('..\u002Fconfig')\nconst isProduction = process.env.NODE_ENV === 'production'\nconst sourceMapEnabled = isProduction\n ? config.build.productionSourceMap\n : config.dev.cssSourceMap\n\nmodule.exports = {\n loaders: utils.cssLoaders({\n sourceMap: sourceMapEnabled,\n extract: isProduction\n }),\n cssSourceMap: sourceMapEnabled,\n cacheBusting: config.dev.cacheBusting,\n transformToRequire: {\n video: ['src', 'poster'],\n source: 'src',\n img: 'src',\n image: 'xlink:href'\n }\n}\n","id":"7f6c5488-b731-4694-b10d-0a654a8d72b7","is_binary":false,"title":"vue-loader.conf.js","sha":null,"inserted_at":"2023-03-16T01:47:20","updated_at":"2023-03-16T01:47:20","upload_id":null,"shortid":"Bk6-Ergegh","source_id":"a66cfa89-ba0a-42f4-ab92-9b716182e7f5","directory_shortid":"By-NBexx2"},{"code":"'use strict'\nconst path = require('path')\nconst utils = require('.\u002Futils')\nconst config = require('..\u002Fconfig')\nconst vueLoaderConfig = require('.\u002Fvue-loader.conf')\n\nfunction resolve (dir) {\n return path.join(__dirname, '..', dir)\n}\n\nconst createLintingRule = () =\u003E ({\n test: \u002F\\.(js|vue)$\u002F,\n loader: 'eslint-loader',\n enforce: 'pre',\n include: [resolve('src'), resolve('test')],\n options: {\n formatter: require('eslint-friendly-formatter'),\n emitWarning: !config.dev.showEslintErrorsInOverlay\n }\n})\n\nmodule.exports = {\n context: path.resolve(__dirname, '..\u002F'),\n entry: {\n app: '.\u002Fsrc\u002Fmain.js'\n },\n output: {\n path: config.build.assetsRoot,\n filename: '[name].js',\n publicPath: process.env.NODE_ENV === 'production'\n ? config.build.assetsPublicPath\n : config.dev.assetsPublicPath\n },\n resolve: {\n extensions: ['.js', '.vue', '.json'],\n alias: {\n 'vue
: 'vue\u002Fdist\u002Fvue.esm.js',\n '@': resolve('src'),\n }\n },\n module: {\n rules: [\n ...(config.dev.useEslint ? [createLintingRule()] : []),\n {\n test: \u002F\\.vue$\u002F,\n loader: 'vue-loader',\n options: vueLoaderConfig\n },\n {\n test: \u002F\\.js$\u002F,\n loader: 'babel-loader',\n include: [resolve('src'), resolve('test'), resolve('node_modules\u002Fwebpack-dev-server\u002Fclient')]\n },\n {\n test: \u002F\\.(png|jpe?g|gif|svg)(\\?.*)?$\u002F,\n loader: 'url-loader',\n options: {\n limit: 10000,\n name: utils.assetsPath('img\u002F[name].[hash:7].[ext]')\n }\n },\n {\n test: \u002F\\.(mp4|webm|ogg|mp3|wav|flac|aac)(\\?.*)?$\u002F,\n loader: 'url-loader',\n options: {\n limit: 10000,\n name: utils.assetsPath('media\u002F[name].[hash:7].[ext]')\n }\n },\n {\n test: \u002F\\.(woff2?|eot|ttf|otf)(\\?.*)?$\u002F,\n loader: 'url-loader',\n options: {\n limit: 10000,\n name: utils.assetsPath('fonts\u002F[name].[hash:7].[ext]')\n }\n }\n ]\n },\n node: {\n \u002F\u002F prevent webpack from injecting useless setImmediate polyfill because Vue\n \u002F\u002F source contains it (although only uses it if it's native).\n setImmediate: false,\n \u002F\u002F prevent webpack from injecting mocks to Node native modules\n \u002F\u002F that does not make sense for the client\n dgram: 'empty',\n fs: 'empty',\n net: 'empty',\n tls: 'empty',\n child_process: 'empty'\n }\n}\n","id":"398153f5-72ab-4817-8c90-b0c0578b66d0","is_binary":false,"title":"webpack.base.conf.js","sha":null,"inserted_at":"2023-03-16T01:47:20","updated_at":"2023-03-16T01:47:20","upload_id":null,"shortid":"ryAW4Hlexn","source_id":"a66cfa89-ba0a-42f4-ab92-9b716182e7f5","directory_shortid":"By-NBexx2"},{"code":"'use strict'\nconst utils = require('.\u002Futils')\nconst webpack = require('webpack')\nconst config = require('..\u002Fconfig')\nconst merge = require('webpack-merge')\nconst path = require('path')\nconst baseWebpackConfig = require('.\u002Fwebpack.base.conf')\nconst CopyWebpackPlugin = require('copy-webpack-plugin')\nconst HtmlWebpackPlugin = require('html-webpack-plugin')\nconst FriendlyErrorsPlugin = require('friendly-errors-webpack-plugin')\nconst portfinder = require('portfinder')\n\nconst HOST = process.env.HOST\nconst PORT = process.env.PORT && Number(process.env.PORT)\n\nconst devWebpackConfig = merge(baseWebpackConfig, {\n module: {\n rules: utils.styleLoaders({ sourceMap: config.dev.cssSourceMap, usePostCSS: true })\n },\n \u002F\u002F cheap-module-eval-source-map is faster for development\n devtool: config.dev.devtool,\n\n \u002F\u002F these devServer options should be customized in \u002Fconfig\u002Findex.js\n devServer: {\n clientLogLevel: 'warning',\n historyApiFallback: {\n rewrites: [\n { from: \u002F.*\u002F, to: path.posix.join(config.dev.assetsPublicPath, 'index.html') },\n ],\n },\n hot: true,\n contentBase: false, \u002F\u002F since we use CopyWebpackPlugin.\n compress: true,\n host: HOST || config.dev.host,\n port: PORT || config.dev.port,\n open: config.dev.autoOpenBrowser,\n overlay: config.dev.errorOverlay\n ? { warnings: false, errors: true }\n : false,\n publicPath: config.dev.assetsPublicPath,\n proxy: config.dev.proxyTable,\n quiet: true, \u002F\u002F necessary for FriendlyErrorsPlugin\n watchOptions: {\n poll: config.dev.poll,\n }\n },\n plugins: [\n new webpack.DefinePlugin({\n 'process.env': require('..\u002Fconfig\u002Fdev.env')\n }),\n new webpack.HotModuleReplacementPlugin(),\n new webpack.NamedModulesPlugin(), \u002F\u002F HMR shows correct file names in console on update.\n new webpack.NoEmitOnErrorsPlugin(),\n \u002F\u002F https:\u002F\u002Fgithub.com\u002Fampedandwired\u002Fhtml-webpack-plugin\n new HtmlWebpackPlugin({\n filename: 'index.html',\n template: 'index.html',\n inject: true\n }),\n \u002F\u002F copy custom static assets\n new CopyWebpackPlugin([\n {\n from: path.resolve(__dirname, '..\u002Fstatic'),\n to: config.dev.assetsSubDirectory,\n ignore: ['.*']\n }\n ])\n ]\n})\n\nmodule.exports = new Promise((resolve, reject) =\u003E {\n portfinder.basePort = process.env.PORT || config.dev.port\n portfinder.getPort((err, port) =\u003E {\n if (err) {\n reject(err)\n } else {\n \u002F\u002F publish the new Port, necessary for e2e tests\n process.env.PORT = port\n \u002F\u002F add port to devServer config\n devWebpackConfig.devServer.port = port\n\n \u002F\u002F Add FriendlyErrorsPlugin\n devWebpackConfig.plugins.push(new FriendlyErrorsPlugin({\n compilationSuccessInfo: {\n messages: [`Your application is running here: http:\u002F\u002F${devWebpackConfig.devServer.host}:${port}`],\n },\n onErrors: config.dev.notifyOnErrors\n ? utils.createNotifierCallback()\n : undefined\n }))\n\n resolve(devWebpackConfig)\n }\n })\n})\n","id":"7f286a0e-60c8-41e1-a41f-6d4749e7cf0f","is_binary":false,"title":"webpack.dev.conf.js","sha":null,"inserted_at":"2023-03-16T01:47:20","updated_at":"2023-03-16T01:47:20","upload_id":null,"shortid":"B1JgWErgeeh","source_id":"a66cfa89-ba0a-42f4-ab92-9b716182e7f5","directory_shortid":"By-NBexx2"},{"code":"'use strict'\nconst path = require('path')\nconst utils = require('.\u002Futils')\nconst webpack = require('webpack')\nconst config = require('..\u002Fconfig')\nconst merge = require('webpack-merge')\nconst baseWebpackConfig = require('.\u002Fwebpack.base.conf')\nconst CopyWebpackPlugin = require('copy-webpack-plugin')\nconst HtmlWebpackPlugin = require('html-webpack-plugin')\nconst ExtractTextPlugin = require('extract-text-webpack-plugin')\nconst OptimizeCSSPlugin = require('optimize-css-assets-webpack-plugin')\nconst UglifyJsPlugin = require('uglifyjs-webpack-plugin')\n\nconst env = process.env.NODE_ENV === 'testing'\n ? require('..\u002Fconfig\u002Ftest.env')\n : require('..\u002Fconfig\u002Fprod.env')\n\nconst webpackConfig = merge(baseWebpackConfig, {\n module: {\n rules: utils.styleLoaders({\n sourceMap: config.build.productionSourceMap,\n extract: true,\n usePostCSS: true\n })\n },\n devtool: config.build.productionSourceMap ? config.build.devtool : false,\n output: {\n path: config.build.assetsRoot,\n filename: utils.assetsPath('js\u002F[name].[chunkhash].js'),\n chunkFilename: utils.assetsPath('js\u002F[id].[chunkhash].js')\n },\n plugins: [\n \u002F\u002F http:\u002F\u002Fvuejs.github.io\u002Fvue-loader\u002Fen\u002Fworkflow\u002Fproduction.html\n new webpack.DefinePlugin({\n 'process.env': env\n }),\n new UglifyJsPlugin({\n uglifyOptions: {\n compress: {\n warnings: false\n }\n },\n sourceMap: config.build.productionSourceMap,\n parallel: true\n }),\n \u002F\u002F extract css into its own file\n new ExtractTextPlugin({\n filename: utils.assetsPath('css\u002F[name].[contenthash].css'),\n \u002F\u002F Setting the following option to `false` will not extract CSS from codesplit chunks.\n \u002F\u002F Their CSS will instead be inserted dynamically with style-loader when the codesplit chunk has been loaded by webpack.\n \u002F\u002F It's currently set to `true` because we are seeing that sourcemaps are included in the codesplit bundle as well when it's `false`, \n \u002F\u002F increasing file size: https:\u002F\u002Fgithub.com\u002Fvuejs-templates\u002Fwebpack\u002Fissues\u002F1110\n allChunks: true,\n }),\n \u002F\u002F Compress extracted CSS. We are using this plugin so that possible\n \u002F\u002F duplicated CSS from different components can be deduped.\n new OptimizeCSSPlugin({\n cssProcessorOptions: config.build.productionSourceMap\n ? { safe: true, map: { inline: false } }\n : { safe: true }\n }),\n \u002F\u002F generate dist index.html with correct asset hash for caching.\n \u002F\u002F you can customize output by editing \u002Findex.html\n \u002F\u002F see https:\u002F\u002Fgithub.com\u002Fampedandwired\u002Fhtml-webpack-plugin\n new HtmlWebpackPlugin({\n filename: process.env.NODE_ENV === 'testing'\n ? 'index.html'\n : config.build.index,\n template: 'index.html',\n inject: true,\n minify: {\n removeComments: true,\n collapseWhitespace: true,\n removeAttributeQuotes: true\n \u002F\u002F more options:\n \u002F\u002F https:\u002F\u002Fgithub.com\u002Fkangax\u002Fhtml-minifier#options-quick-reference\n },\n \u002F\u002F necessary to consistently work with multiple chunks via CommonsChunkPlugin\n chunksSortMode: 'dependency'\n }),\n \u002F\u002F keep module.id stable when vendor modules does not change\n new webpack.HashedModuleIdsPlugin(),\n \u002F\u002F enable scope hoisting\n new webpack.optimize.ModuleConcatenationPlugin(),\n \u002F\u002F split vendor js into its own file\n new webpack.optimize.CommonsChunkPlugin({\n name: 'vendor',\n minChunks (module) {\n \u002F\u002F any required modules inside node_modules are extracted to vendor\n return (\n module.resource &&\n \u002F\\.js$\u002F.test(module.resource) &&\n module.resource.indexOf(\n path.join(__dirname, '..\u002Fnode_modules')\n ) === 0\n )\n }\n }),\n \u002F\u002F extract webpack runtime and module manifest to its own file in order to\n \u002F\u002F prevent vendor hash from being updated whenever app bundle is updated\n new webpack.optimize.CommonsChunkPlugin({\n name: 'manifest',\n minChunks: Infinity\n }),\n \u002F\u002F This instance extracts shared chunks from code splitted chunks and bundles them\n \u002F\u002F in a separate chunk, similar to the vendor chunk\n \u002F\u002F see: https:\u002F\u002Fwebpack.js.org\u002Fplugins\u002Fcommons-chunk-plugin\u002F#extra-async-commons-chunk\n new webpack.optimize.CommonsChunkPlugin({\n name: 'app',\n async: 'vendor-async',\n children: true,\n minChunks: 3\n }),\n\n \u002F\u002F copy custom static assets\n new CopyWebpackPlugin([\n {\n from: path.resolve(__dirname, '..\u002Fstatic'),\n to: config.build.assetsSubDirectory,\n ignore: ['.*']\n }\n ])\n ]\n})\n\nif (config.build.productionGzip) {\n const CompressionWebpackPlugin = require('compression-webpack-plugin')\n\n webpackConfig.plugins.push(\n new CompressionWebpackPlugin({\n asset: '[path].gz[query]',\n algorithm: 'gzip',\n test: new RegExp(\n '\\\\.(' +\n config.build.productionGzipExtensions.join('|') +\n ')
\n ),\n threshold: 10240,\n minRatio: 0.8\n })\n )\n}\n\nif (config.build.bundleAnalyzerReport) {\n const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin\n webpackConfig.plugins.push(new BundleAnalyzerPlugin())\n}\n\nmodule.exports = webpackConfig\n","id":"6b54c3e4-1467-4915-b4c5-fcfb81f59589","is_binary":false,"title":"webpack.prod.conf.js","sha":null,"inserted_at":"2023-03-16T01:47:20","updated_at":"2023-03-16T01:47:20","upload_id":null,"shortid":"ryeg-VHgleh","source_id":"a66cfa89-ba0a-42f4-ab92-9b716182e7f5","directory_shortid":"By-NBexx2"},{"code":"'use strict'\nconst merge = require('webpack-merge')\nconst prodEnv = require('.\u002Fprod.env')\n\nmodule.exports = merge(prodEnv, {\n NODE_ENV: '\"development\"'\n})\n","id":"1899a70e-7cc9-4753-a447-58eb4bcd5236","is_binary":false,"title":"dev.env.js","sha":null,"inserted_at":"2023-03-16T01:47:20","updated_at":"2023-03-16T01:47:20","upload_id":null,"shortid":"BJbx-4Sgggh","source_id":"a66cfa89-ba0a-42f4-ab92-9b716182e7f5","directory_shortid":"HklWVBlgen"},{"code":"'use strict'\n\u002F\u002F Template version: 1.3.1\n\u002F\u002F see http:\u002F\u002Fvuejs-templates.github.io\u002Fwebpack for documentation.\n\nconst path = require('path')\n\nmodule.exports = {\n dev: {\n\n \u002F\u002F Paths\n assetsSubDirectory: 'static',\n assetsPublicPath: '\u002F',\n proxyTable: {},\n\n \u002F\u002F Various Dev Server settings\n host: 'localhost', \u002F\u002F can be overwritten by process.env.HOST\n port: 8080, \u002F\u002F can be overwritten by process.env.PORT, if port is in use, a free one will be determined\n autoOpenBrowser: false,\n errorOverlay: true,\n notifyOnErrors: true,\n poll: false, \u002F\u002F https:\u002F\u002Fwebpack.js.org\u002Fconfiguration\u002Fdev-server\u002F#devserver-watchoptions-\n\n \u002F\u002F Use Eslint Loader?\n \u002F\u002F If true, your code will be linted during bundling and\n \u002F\u002F linting errors and warnings will be shown in the console.\n useEslint: true,\n \u002F\u002F If true, eslint errors and warnings will also be shown in the error overlay\n \u002F\u002F in the browser.\n showEslintErrorsInOverlay: false,\n\n \u002F**\n * Source Maps\n *\u002F\n\n \u002F\u002F https:\u002F\u002Fwebpack.js.org\u002Fconfiguration\u002Fdevtool\u002F#development\n devtool: 'cheap-module-eval-source-map',\n\n \u002F\u002F If you have problems debugging vue-files in devtools,\n \u002F\u002F set this to false - it *may* help\n \u002F\u002F https:\u002F\u002Fvue-loader.vuejs.org\u002Fen\u002Foptions.html#cachebusting\n cacheBusting: true,\n\n cssSourceMap: true\n },\n\n build: {\n \u002F\u002F Template for index.html\n index: path.resolve(__dirname, '..\u002Fdist\u002Findex.html'),\n\n \u002F\u002F Paths\n assetsRoot: path.resolve(__dirname, '..\u002Fdist'),\n assetsSubDirectory: 'static',\n assetsPublicPath: '\u002F',\n\n \u002F**\n * Source Maps\n *\u002F\n\n productionSourceMap: true,\n \u002F\u002F https:\u002F\u002Fwebpack.js.org\u002Fconfiguration\u002Fdevtool\u002F#production\n devtool: '#source-map',\n\n \u002F\u002F Gzip off by default as many popular static hosts such as\n \u002F\u002F Surge or Netlify already gzip all static assets for you.\n \u002F\u002F Before setting to `true`, make sure to:\n \u002F\u002F npm install --save-dev compression-webpack-plugin\n productionGzip: false,\n productionGzipExtensions: ['js', 'css'],\n\n \u002F\u002F Run the build command with an extra argument to\n \u002F\u002F View the bundle analyzer report after build finishes:\n \u002F\u002F `npm run build --report`\n \u002F\u002F Set to `true` or `false` to always turn it on or off\n bundleAnalyzerReport: process.env.npm_config_report\n }\n}\n","id":"630754d0-6c72-4c04-a019-bea4b6fd65a5","is_binary":false,"title":"index.js","sha":null,"inserted_at":"2023-03-16T01:47:21","updated_at":"2023-03-16T01:47:21","upload_id":null,"shortid":"HJGl-NHxge3","source_id":"a66cfa89-ba0a-42f4-ab92-9b716182e7f5","directory_shortid":"HklWVBlgen"},{"code":"'use strict'\nmodule.exports = {\n NODE_ENV: '\"production\"'\n}\n","id":"483398e6-9bf5-4a3a-9412-5f81aef9c617","is_binary":false,"title":"prod.env.js","sha":null,"inserted_at":"2023-03-16T01:47:21","updated_at":"2023-03-16T01:47:21","upload_id":null,"shortid":"Hkmgb4Bxgx3","source_id":"a66cfa89-ba0a-42f4-ab92-9b716182e7f5","directory_shortid":"HklWVBlgen"},{"code":"'use strict'\nconst merge = require('webpack-merge')\nconst devEnv = require('.\u002Fdev.env')\n\nmodule.exports = merge(devEnv, {\n NODE_ENV: '\"testing\"'\n})\n","id":"22935572-7a63-4f89-bd05-f157199e09e5","is_binary":false,"title":"test.env.js","sha":null,"inserted_at":"2023-03-16T01:47:21","updated_at":"2023-03-16T01:47:21","upload_id":null,"shortid":"HJVebNHgxe3","source_id":"a66cfa89-ba0a-42f4-ab92-9b716182e7f5","directory_shortid":"HklWVBlgen"},{"code":"\u003C!DOCTYPE html\u003E\n\u003Chtml\u003E\n\n\u003Chead\u003E\n\t\u003Cmeta charset=\"utf-8\"\u003E\n\t\u003Cmeta name=\"viewport\" content=\"width=device-width,initial-scale=1.0\"\u003E\n\t\u003Ctitle\u003ECodeSandbox Vue\u003C\u002Ftitle\u003E\n\u003C\u002Fhead\u003E\n\n\u003Cbody\u003E\n\t\u003Cdiv id=\"app\"\u003E\u003C\u002Fdiv\u003E\n\t\u003C!-- built files will be auto injected --\u003E\n\u003C\u002Fbody\u003E\n\n\u003C\u002Fhtml\u003E","id":"2b969337-3e24-4b2f-97ab-eba14106d3a7","is_binary":false,"title":"index.html","sha":null,"inserted_at":"2023-03-16T01:47:21","updated_at":"2023-03-16T01:47:21","upload_id":null,"shortid":"S1SgWNHgggn","source_id":"a66cfa89-ba0a-42f4-ab92-9b716182e7f5","directory_shortid":null},{"code":"{\n \"name\": \"simple-global-store\",\n \"version\": \"1.0.0\",\n \"description\": \"\",\n \"main\": \"src\u002Fmain.js\",\n \"private\": true,\n \"scripts\": {\n \"dev\":\n \"webpack-dev-server --inline --progress --config build\u002Fwebpack.dev.conf.js\",\n \"start\": \"npm run dev\",\n \"unit\": \"jest --config test\u002Funit\u002Fjest.conf.js --coverage\",\n \"test\": \"npm run unit\",\n \"lint\": \"eslint --ext .js,.vue src test\u002Funit\",\n \"build\": \"node build\u002Fbuild.js\"\n },\n \"dependencies\": {\n \"vue\": \"^2.5.2\"\n },\n \"devDependencies\": {\n \"autoprefixer\": \"^7.1.2\",\n \"babel-core\": \"^6.22.1\",\n \"babel-eslint\": \"^8.2.1\",\n \"babel-helper-vue-jsx-merge-props\": \"^2.0.3\",\n \"babel-jest\": \"^21.0.2\",\n \"babel-loader\": \"^7.1.1\",\n \"babel-plugin-dynamic-import-node\": \"^1.2.0\",\n \"babel-plugin-syntax-jsx\": \"^6.18.0\",\n \"babel-plugin-transform-es2015-modules-commonjs\": \"^6.26.0\",\n \"babel-plugin-transform-runtime\": \"^6.22.0\",\n \"babel-plugin-transform-vue-jsx\": \"^3.5.0\",\n \"babel-preset-env\": \"^1.3.2\",\n \"babel-preset-stage-2\": \"^6.22.0\",\n \"chalk\": \"^2.0.1\",\n \"copy-webpack-plugin\": \"^4.0.1\",\n \"css-loader\": \"^0.28.0\",\n \"eslint\": \"^4.15.0\",\n \"eslint-config-airbnb-base\": \"^11.3.0\",\n \"eslint-friendly-formatter\": \"^3.0.0\",\n \"eslint-import-resolver-webpack\": \"^0.8.3\",\n \"eslint-loader\": \"^1.7.1\",\n \"eslint-plugin-import\": \"^2.7.0\",\n \"eslint-plugin-vue\": \"^4.0.0\",\n \"extract-text-webpack-plugin\": \"^3.0.0\",\n \"file-loader\": \"^1.1.4\",\n \"friendly-errors-webpack-plugin\": \"^1.6.1\",\n \"html-webpack-plugin\": \"^2.30.1\",\n \"jest\": \"^22.0.4\",\n \"jest-serializer-vue\": \"^0.3.0\",\n \"node-notifier\": \"^5.1.2\",\n \"optimize-css-assets-webpack-plugin\": \"^3.2.0\",\n \"ora\": \"^1.2.0\",\n \"portfinder\": \"^1.0.13\",\n \"postcss-import\": \"^11.0.0\",\n \"postcss-loader\": \"^2.0.8\",\n \"postcss-url\": \"^7.2.1\",\n \"rimraf\": \"^2.6.0\",\n \"semver\": \"^5.3.0\",\n \"shelljs\": \"^0.7.6\",\n \"uglifyjs-webpack-plugin\": \"^1.1.1\",\n \"url-loader\": \"^0.5.8\",\n \"vue-jest\": \"^1.0.2\",\n \"vue-loader\": \"^13.3.0\",\n \"vue-style-loader\": \"^3.0.1\",\n \"vue-template-compiler\": \"^2.5.2\",\n \"webpack\": \"^3.6.0\",\n \"webpack-bundle-analyzer\": \"^2.9.0\",\n \"webpack-dev-server\": \"^2.9.1\",\n \"webpack-merge\": \"^4.1.0\"\n },\n \"engines\": {\n \"node\": \"\u003E= 6.0.0\",\n \"npm\": \"\u003E= 3.0.0\"\n },\n \"browserslist\": [\"\u003E 1%\", \"last 2 versions\", \"not ie \u003C= 8\"],\n \"keywords\": []\n}\n","id":"8844cb4c-565d-4672-b6cf-b4b6af2d95b7","is_binary":false,"title":"package.json","sha":null,"inserted_at":"2023-03-16T01:47:21","updated_at":"2023-03-16T01:47:21","upload_id":null,"shortid":"ByIeZVBelln","source_id":"a66cfa89-ba0a-42f4-ab92-9b716182e7f5","directory_shortid":null},{"code":"\u003Ctemplate\u003E\n \u003Cdiv id=\"app\"\u003E\n \u003CNumberDisplay\u002F\u003E\n \u003CNumberSubmit\u002F\u003E\n \u003C\u002Fdiv\u003E\n\u003C\u002Ftemplate\u003E\n\n\u003Cscript\u003E\nimport NumberDisplay from \".\u002Fcomponents\u002FNumberDisplay\";\nimport NumberSubmit from \".\u002Fcomponents\u002FNumberSubmit\";\n\nexport default {\n name: \"App\",\n components: {\n NumberDisplay,\n NumberSubmit\n }\n};\n\u003C\u002Fscript\u003E\n\n\u003Cstyle\u003E\n#app {\n font-family: \"Avenir\", Helvetica, Arial, sans-serif;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n text-align: center;\n color: #2c3e50;\n margin-top: 60px;\n}\n\u003C\u002Fstyle\u003E\n","id":"af42c29f-0b0b-4b59-a005-88d3c363b7be","is_binary":false,"title":"App.vue","sha":null,"inserted_at":"2023-03-16T01:47:21","updated_at":"2023-03-16T01:47:21","upload_id":null,"shortid":"S1wlZNSleeh","source_id":"a66cfa89-ba0a-42f4-ab92-9b716182e7f5","directory_shortid":"H1bZESllx3"},{"code":"\u003Ctemplate\u003E\n \u003Cdiv\u003E\n \u003Ch2\u003E{{ storeState.numbers }}\u003C\u002Fh2\u003E\n \u003C\u002Fdiv\u003E\n\u003C\u002Ftemplate\u003E\n\n\u003Cscript\u003E\nimport { store } from \"..\u002Fstore.js\";\n\nexport default {\n name: \"NumberDisplay\",\n data() {\n return {\n storeState: store.state\n };\n }\n};\n\u003C\u002Fscript\u003E\n","id":"6edf7c74-f0d0-4ef0-9060-b13ce0247626","is_binary":false,"title":"NumberDisplay.vue","sha":null,"inserted_at":"2023-03-16T01:47:21","updated_at":"2023-03-16T01:47:21","upload_id":null,"shortid":"rydgZVBlgln","source_id":"a66cfa89-ba0a-42f4-ab92-9b716182e7f5","directory_shortid":"S1M-Nrgxg2"},{"code":"\u003Ctemplate\u003E\n \u003Cdiv\u003E\n \u003Cinput v-model=\"numberInput\" type=\"number\" \u002F\u003E\n \u003Cbutton @click=\"addNumber(numberInput)\"\u003E\n Add new number\n \u003C\u002Fbutton\u003E\n \u003C\u002Fdiv\u003E\n\u003C\u002Ftemplate\u003E\n\n\u003Cscript\u003E\nimport { store } from \"..\u002Fstore.js\";\n\nexport default {\n name: \"NumberSubmit\",\n data() {\n return {\n numberInput: 0\n };\n },\n methods: {\n addNumber(numberInput) {\n store.addNumber(Number(numberInput));\n }\n }\n};\n\u003C\u002Fscript\u003E\n","id":"d216ecca-e5c4-4347-8462-ea8ff28590f4","is_binary":false,"title":"NumberSubmit.vue","sha":null,"inserted_at":"2023-03-16T01:47:21","updated_at":"2023-03-16T01:47:21","upload_id":null,"shortid":"H1YgbNrleln","source_id":"a66cfa89-ba0a-42f4-ab92-9b716182e7f5","directory_shortid":"S1M-Nrgxg2"},{"code":"\u002F\u002F The Vue build version to load with the `import` command\n\u002F\u002F (runtime-only or standalone) has been set in webpack.base.conf with an alias.\nimport Vue from \"vue\";\nimport App from \".\u002FApp\";\n\nVue.config.productionTip = false;\n\n\u002F* eslint-disable no-new *\u002F\nnew Vue({\n el: \"#app\",\n components: { App },\n template: \"\u003CApp\u002F\u003E\"\n});\n","id":"4e0c936d-f759-4c50-83cd-10cd9590837f","is_binary":false,"title":"main.js","sha":null,"inserted_at":"2023-03-16T01:47:21","updated_at":"2023-03-16T01:47:21","upload_id":null,"shortid":"Hk9eb4Bexgn","source_id":"a66cfa89-ba0a-42f4-ab92-9b716182e7f5","directory_shortid":"H1bZESllx3"},{"code":"export const store = {\n state: {\n numbers: [1, 2, 3]\n },\n addNumber(newNumber) {\n this.state.numbers.push(newNumber);\n }\n};\n","id":"0f632933-1c6e-433d-be99-95d35a34cbcd","is_binary":false,"title":"store.js","sha":null,"inserted_at":"2023-03-16T01:47:21","updated_at":"2023-03-16T01:47:21","upload_id":null,"shortid":"B1sgW4Bglgh","source_id":"a66cfa89-ba0a-42f4-ab92-9b716182e7f5","directory_shortid":"H1bZESllx3"},{"code":"https:\u002F\u002Frawcdn.githack.com\u002Ffullstackio\u002Fawesome-fullstack-tutorials\u002Fmaster\u002Fvue\u002Fmanaging_state_01\u002Fsimple-global-store\u002Fbuild\u002Flogo.png","id":"729069c0-d644-430f-835a-f23731d9da49","is_binary":true,"title":"logo.png","sha":null,"inserted_at":"2023-03-16T01:47:21","updated_at":"2023-03-16T01:47:21","upload_id":null,"shortid":"r13xW4Sxgxn","source_id":"a66cfa89-ba0a-42f4-ab92-9b716182e7f5","directory_shortid":"By-NBexx2"}],"npm_dependencies":{},"template":"vue-cli","user_liked":false,"screenshot_url":"https:\u002F\u002Fscreenshots.codesandbox.io\u002Fvnciu\u002F1.png","external_resources":[],"is_frozen":false,"picks":[],"forked_from_sandbox":null,"is_sse":false,"git":{"path":"vue\u002Fmanaging_state_01\u002Fsimple-global-store","branch":"master","repo":"awesome-fullstack-tutorials","username":"fullstackio","commit_sha":"55ab2b6ae16fe1dfbd30578d07f077f8ca77bf2b"},"npm_registries":[],"tags":[],"author":null,"v2":false,"forked_template":null,"original_git":null,"owned":false,"custom_template":{"id":"fc7d2bc1-fd4b-46da-8922-f8174694ca56","title":"simple-global-store","color":"#61DAFB","v2":false,"url":null,"published":false,"icon_url":"github","official":false},"preview_secret":null,"authorization":"read","description":null,"source_id":"a66cfa89-ba0a-42f4-ab92-9b716182e7f5","title":"simple-global-store","privacy":0};