Skip to content

Commit

Permalink
Modify the configuration of some files and upgrade to v1.2.3
Browse files Browse the repository at this point in the history
Modify the configuration of some files and upgrade to v1.2.3
  • Loading branch information
lindelof committed Dec 23, 2019
1 parent 003e465 commit fb5b856
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 15 deletions.
22 changes: 10 additions & 12 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,24 @@

module.exports = {
root: true,
parser: 'babel-eslint',
parser: "babel-eslint",
parserOptions: {
sourceType: 'module'
sourceType: "module"
},
env: {
browser: true,
browser: true
},
// https://github.com/feross/standard/blob/master/RULES.md#javascript-standard-style
extends: 'standard',
extends: "standard",
// required to lint *.vue files
plugins: [
'html'
],
plugins: ["html"],
// add your custom rules here
'rules': {
rules: {
// allow paren-less arrow functions
'arrow-parens': 0,
"arrow-parens": 0,
// allow async-await
'generator-star-spacing': 0,
"generator-star-spacing": 0,
// allow debugger during development
'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0
"no-debugger": process.env.NODE_ENV === "production" ? 2 : 0
}
}
};
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
.DS_Store
node_modules/
dist/
examples/
example/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
Expand Down
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ DS_Store
docs/
node_modules/
example/
examples/
.*.swp
.DS_Store
.git
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

> A vue.js particles animation background component. Use it to make your website look cool.
#### Check it out if you want to use it in `React` [https://github.com/lindelof/particles-bg](https://github.com/lindelof/particles-bg)
### Check it out if you want to use it in `React` [https://github.com/lindelof/particles-bg](https://github.com/lindelof/particles-bg)

## Specify
This project refers to the source code of the [Proton](https://a-jie.github.io/Proton/) official website, and proton's online [demo](https://codesandbox.io/s/proton-tadpole-yt6qu?fontsize=14&module=%2Fsrc%2Fcomponents%2FParticles.vue). I packaged it into a vue.js component. You can use it casually in your own projects
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>particles-bg-vue</title>
<title>particles-bg-vue demo</title>
</head>
<body>
<div id="app"></div>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "particles-bg-vue",
"version": "1.2.2",
"version": "1.2.3",
"description": "Vue.js component for particles backgrounds",
"author": "creotip@gmail.com",
"license": "MIT",
Expand Down

0 comments on commit fb5b856

Please sign in to comment.