Skip to content

Commit

Permalink
🎨 优化代码结构
Browse files Browse the repository at this point in the history
  • Loading branch information
jamebal committed Aug 9, 2022
1 parent 7689523 commit f52f41d
Show file tree
Hide file tree
Showing 16 changed files with 4 additions and 266 deletions.
4 changes: 0 additions & 4 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,3 @@ indent_size = 2
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

[*.md]
insert_final_newline = false
trim_trailing_whitespace = false
11 changes: 0 additions & 11 deletions .env.development
Original file line number Diff line number Diff line change
@@ -1,14 +1,3 @@
# just a flag
ENV = 'development'

# base api
VUE_APP_BASE_API = '/api'

# vue-cli uses the VUE_CLI_BABEL_TRANSPILE_MODULES environment variable,
# to control whether the babel-plugin-dynamic-import-node plugin is enabled.
# It only does one thing by converting all import() to require().
# This configuration can significantly increase the speed of hot updates,
# when you have a large number of pages.
# Detail: https://github.com/vuejs/vue-cli/blob/dev/packages/@vue/babel-preset-app/index.js

VUE_CLI_BABEL_TRANSPILE_MODULES = false
2 changes: 0 additions & 2 deletions .env.production
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# just a flag
ENV = 'production'

# base api
VUE_APP_BASE_API = '/api'
2 changes: 1 addition & 1 deletion .env.staging → .env.test
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
NODE_ENV = production

# just a flag
ENV = 'staging'
ENV = 'test'

# base api
VUE_APP_BASE_API = '/api'
5 changes: 0 additions & 5 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2020 jmal
Copyright (c) 2022 jmal

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
1 change: 1 addition & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// https://www.babeljs.cn/
module.exports = {
presets: [
'@vue/app'
Expand Down
24 changes: 0 additions & 24 deletions jest.config.js

This file was deleted.

1 change: 1 addition & 0 deletions jsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"compilerOptions": {
"target": "es6",
"baseUrl": "./",
"paths": {
"@/*": ["src/*"]
Expand Down
5 changes: 0 additions & 5 deletions tests/unit/.eslintrc.js

This file was deleted.

98 changes: 0 additions & 98 deletions tests/unit/components/Breadcrumb.spec.js

This file was deleted.

18 changes: 0 additions & 18 deletions tests/unit/components/Hamburger.spec.js

This file was deleted.

22 changes: 0 additions & 22 deletions tests/unit/components/SvgIcon.spec.js

This file was deleted.

30 changes: 0 additions & 30 deletions tests/unit/utils/formatTime.spec.js

This file was deleted.

28 changes: 0 additions & 28 deletions tests/unit/utils/parseTime.spec.js

This file was deleted.

17 changes: 0 additions & 17 deletions tests/unit/utils/validate.spec.js

This file was deleted.

0 comments on commit f52f41d

Please sign in to comment.