Skip to content

Commit

Permalink
feat: init v2
Browse files Browse the repository at this point in the history
  • Loading branch information
yugasun committed May 24, 2020
1 parent 8a2b777 commit fd12f12
Show file tree
Hide file tree
Showing 30 changed files with 449 additions and 1,109 deletions.
15 changes: 15 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# EditorConfig is awesome: http://EditorConfig.org

# top-most EditorConfig file
root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
indent_size = 2
indent_style = space
trim_trailing_whitespace = true

[*.md]
trim_trailing_whitespace = false
2 changes: 2 additions & 0 deletions .eslintignore
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
coverage
dist
node_modules
example
*.test.js
6 changes: 3 additions & 3 deletions .eslintrc.js
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@ module.exports = {
'id-length': [
'error',
{
min: 2,
min: 1,
max: 50,
properties: 'never',
exceptions: ['e', 'i', 'n', 't', 'x', 'y', 'z', '_', '$']
}
],
'no-alert': 'error',
'no-console': 'error',
'no-console': 'off',
'no-const-assign': 'error',
'no-else-return': 'error',
'no-empty': 'off',
Expand All @@ -66,7 +66,7 @@ module.exports = {
],
semi: ['error', 'never'],
'spaced-comment': 'error',
strict: ['error', 'never'],
strict: ['error', 'global'],
'prettier/prettier': 'error'
}
}
2 changes: 1 addition & 1 deletion .gitignore
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ build/
.env*
env.js
package-lock.json
yarn.lock
test
yarn.lock
9 changes: 1 addition & 8 deletions .npmignore
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,9 +1,2 @@
components
examples
.idea
.serverless
coverage
.env*
env.js
tmp
test
example
Empty file modified .npmrc
100755 → 100644
Empty file.
Empty file modified .prettierignore
100755 → 100644
Empty file.
22 changes: 22 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
language: node_js

node_js:
- 8
- 10

install:
- npm install

# should change to serverless registry publish
jobs:
include:
# Define the release stage that runs semantic-release
- stage: release
node_js: 10.18
# Advanced: optionally overwrite your default `script` step to skip the tests
# script: skip
deploy:
provider: script
skip_cleanup: true
script:
- npm run release
34 changes: 0 additions & 34 deletions CHANGELOG.md

This file was deleted.

75 changes: 0 additions & 75 deletions CODE_OF_CONDUCT.md

This file was deleted.

6 changes: 0 additions & 6 deletions CONTRIBUTING.md

This file was deleted.

3 changes: 0 additions & 3 deletions COPYRIGHT

This file was deleted.

Loading

0 comments on commit fd12f12

Please sign in to comment.