Skip to content

Commit

Permalink
chore: update snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
solufa committed Jun 8, 2020
1 parent 6df4271 commit 80c7a4e
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 58 deletions.
106 changes: 48 additions & 58 deletions test/snapshots/index.test.js.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,17 +99,18 @@ Generated by [AVA](https://avajs.dev).
},
private: true,
scripts: {
'build:api': 'aspida --build',
'build:frourio': 'frourio --build -c server/frourio.config.js',
build: 'npm run build:apis && run-p build:front build:server',
'build:apis': 'cross-env NODE_ENV=production run-p build:aspida build:frourio',
'build:aspida': 'aspida --build',
'build:front': 'nuxt-ts generate',
'build:frourio': 'frourio --build --config server/frourio.config.js',
'build:server': 'webpack --mode=production --config server/webpack.config.js',
delete: 'pm2 delete server/pm2.config.json',
dev: 'run-p dev:*',
'dev:api': 'aspida --watch',
'dev:client': 'nuxt-ts',
'dev:frourio': 'frourio --watch -c server/frourio.config.js',
'dev:aspida': 'aspida --watch',
'dev:front': 'nuxt-ts',
'dev:frourio': 'frourio --watch --config server/frourio.config.js',
'dev:server': 'webpack --watch --mode=development --config server/webpack.config.js',
generate: 'cross-env NODE_ENV=production run-p build:* && run-p generate:*',
'generate:front': 'nuxt-ts generate',
'generate:server': 'webpack --mode=production --config server/webpack.config.js',
lint: 'npm run lint:script && npm run lint:style',
'lint:fix': 'npm run lint:script -- --fix && npm run lint:style -- --fix',
'lint:script': 'eslint --ext .ts,.js,.vue --ignore-path .gitignore .',
Expand Down Expand Up @@ -156,25 +157,16 @@ Generated by [AVA](https://avajs.dev).
{
dependencies: {
'@aspida/axios': '^0.6.0',
'@nuxt/typescript-runtime': '^0.4.8',
'@nuxtjs/axios': '^5.3.6',
axios: '^0.19.2',
frourio: '^0.3.0',
nuxt: '2.12.2',
pm2: '^4.4.0',
},
devDependencies: {
'@nuxt/components': '^0.3.3',
'@nuxt/typescript-build': '^0.6.0',
'@nuxtjs/eslint-config-typescript': '^1.0.0',
'@nuxtjs/eslint-module': '^1.0.0',
'@nuxtjs/stylelint-module': '^3.1.0',
'@vue/test-utils': '^1.0.0-beta.27',
'babel-eslint': '^10.0.1',
'babel-jest': '^24.1.0',
'cross-env': '^7.0.2',
eslint: '^6.1.0',
'eslint-config-prettier': '^6.10.0',
'eslint-plugin-nuxt': '>=0.4.2',
'eslint-plugin-prettier': '^3.1.2',
husky: '^4.0.0',
jest: '^24.1.0',
Expand All @@ -187,7 +179,6 @@ Generated by [AVA](https://avajs.dev).
'ts-loader': '^7.0.5',
'tsconfig-paths-webpack-plugin': '^3.2.0',
typescript: '^3.9.3',
'vue-jest': '^4.0.0-0',
'webpack-cli': '^3.3.11',
},
husky: {
Expand All @@ -196,32 +187,28 @@ Generated by [AVA](https://avajs.dev).
},
},
'lint-staged': {
'*.{css,vue}': 'stylelint',
'*.{js,vue}': 'yarn lint',
'*.js': 'npm run lint',
},
private: true,
scripts: {
'build:api': 'aspida --build',
'build:frourio': 'frourio --build -c server/frourio.config.js',
build: 'npm run build:apis && npm run build:server',
'build:apis': 'cross-env NODE_ENV=production run-p build:aspida build:frourio',
'build:aspida': 'aspida --build',
'build:frourio': 'frourio --build --config server/frourio.config.js',
'build:server': 'webpack --mode=production --config server/webpack.config.js',
delete: 'pm2 delete server/pm2.config.json',
dev: 'run-p dev:*',
'dev:api': 'aspida --watch',
'dev:client': 'nuxt-ts',
'dev:frourio': 'frourio --watch -c server/frourio.config.js',
'dev:aspida': 'aspida --watch',
'dev:frourio': 'frourio --watch --config server/frourio.config.js',
'dev:server': 'webpack --watch --mode=development --config server/webpack.config.js',
generate: 'cross-env NODE_ENV=production run-p build:* && run-p generate:*',
'generate:front': 'nuxt-ts generate',
'generate:server': 'webpack --mode=production --config server/webpack.config.js',
lint: 'npm run lint:script && npm run lint:style',
'lint:fix': 'npm run lint:script -- --fix && npm run lint:style -- --fix',
'lint:script': 'eslint --ext .ts,.js,.vue --ignore-path .gitignore .',
'lint:style': 'stylelint "**/*.{*(s)css,vue}"',
lint: 'eslint --ext .ts,.js --ignore-path .gitignore .',
'lint:fix': 'npm run lint -- --fix',
logs: 'pm2 logs',
monit: 'pm2 monit',
start: 'pm2 start server/pm2.config.json --env production',
stop: 'pm2 stop server/pm2.config.json',
test: 'jest',
typecheck: 'run-p build:* && tsc --noEmit',
typecheck: 'npm run build:apis && tsc --noEmit',
},
}

Expand Down Expand Up @@ -320,17 +307,18 @@ Generated by [AVA](https://avajs.dev).
},
private: true,
scripts: {
'build:api': 'aspida --build',
'build:frourio': 'frourio --build -c server/frourio.config.js',
build: 'npm run build:apis && run-p build:front build:server',
'build:apis': 'cross-env NODE_ENV=production run-p build:aspida build:frourio',
'build:aspida': 'aspida --build',
'build:front': 'nuxt-ts generate',
'build:frourio': 'frourio --build --config server/frourio.config.js',
'build:server': 'webpack --mode=production --config server/webpack.config.js',
delete: 'pm2 delete server/pm2.config.json',
dev: 'run-p dev:*',
'dev:api': 'aspida --watch',
'dev:client': 'nuxt-ts',
'dev:frourio': 'frourio --watch -c server/frourio.config.js',
'dev:aspida': 'aspida --watch',
'dev:front': 'nuxt-ts',
'dev:frourio': 'frourio --watch --config server/frourio.config.js',
'dev:server': 'webpack --watch --mode=development --config server/webpack.config.js',
generate: 'cross-env NODE_ENV=production run-p build:* && run-p generate:*',
'generate:front': 'nuxt-ts generate',
'generate:server': 'webpack --mode=production --config server/webpack.config.js',
lint: 'npm run lint:script && npm run lint:style',
'lint:fix': 'npm run lint:script -- --fix && npm run lint:style -- --fix',
'lint:script': 'eslint --ext .ts,.js,.vue --ignore-path .gitignore .',
Expand Down Expand Up @@ -439,17 +427,18 @@ Generated by [AVA](https://avajs.dev).
},
private: true,
scripts: {
'build:api': 'aspida --build',
'build:frourio': 'frourio --build -c server/frourio.config.js',
build: 'npm run build:apis && run-p build:front build:server',
'build:apis': 'cross-env NODE_ENV=production run-p build:aspida build:frourio',
'build:aspida': 'aspida --build',
'build:front': 'nuxt-ts generate',
'build:frourio': 'frourio --build --config server/frourio.config.js',
'build:server': 'webpack --mode=production --config server/webpack.config.js',
delete: 'pm2 delete server/pm2.config.json',
dev: 'run-p dev:*',
'dev:api': 'aspida --watch',
'dev:client': 'nuxt-ts',
'dev:frourio': 'frourio --watch -c server/frourio.config.js',
'dev:aspida': 'aspida --watch',
'dev:front': 'nuxt-ts',
'dev:frourio': 'frourio --watch --config server/frourio.config.js',
'dev:server': 'webpack --watch --mode=development --config server/webpack.config.js',
generate: 'cross-env NODE_ENV=production run-p build:* && run-p generate:*',
'generate:front': 'nuxt-ts generate',
'generate:server': 'webpack --mode=production --config server/webpack.config.js',
lint: 'npm run lint:script && npm run lint:style',
'lint:fix': 'npm run lint:script -- --fix && npm run lint:style -- --fix',
'lint:script': 'eslint --ext .ts,.js,.vue --ignore-path .gitignore .',
Expand Down Expand Up @@ -558,17 +547,18 @@ Generated by [AVA](https://avajs.dev).
},
private: true,
scripts: {
'build:api': 'aspida --build',
'build:frourio': 'frourio --build -c server/frourio.config.js',
build: 'npm run build:apis && run-p build:front build:server',
'build:apis': 'cross-env NODE_ENV=production run-p build:aspida build:frourio',
'build:aspida': 'aspida --build',
'build:front': 'nuxt-ts generate',
'build:frourio': 'frourio --build --config server/frourio.config.js',
'build:server': 'webpack --mode=production --config server/webpack.config.js',
delete: 'pm2 delete server/pm2.config.json',
dev: 'run-p dev:*',
'dev:api': 'aspida --watch',
'dev:client': 'nuxt-ts',
'dev:frourio': 'frourio --watch -c server/frourio.config.js',
'dev:aspida': 'aspida --watch',
'dev:front': 'nuxt-ts',
'dev:frourio': 'frourio --watch --config server/frourio.config.js',
'dev:server': 'webpack --watch --mode=development --config server/webpack.config.js',
generate: 'cross-env NODE_ENV=production run-p build:* && run-p generate:*',
'generate:front': 'nuxt-ts generate',
'generate:server': 'webpack --mode=production --config server/webpack.config.js',
lint: 'npm run lint:script && npm run lint:style',
'lint:fix': 'npm run lint:script -- --fix && npm run lint:style -- --fix',
'lint:script': 'eslint --ext .ts,.js,.vue --ignore-path .gitignore .',
Expand Down
Binary file modified test/snapshots/index.test.js.snap
Binary file not shown.

0 comments on commit 80c7a4e

Please sign in to comment.