Skip to content

Commit 245ce3a

Browse files
committed
feat: init v2
1 parent 2fa2af0 commit 245ce3a

21 files changed

+757
-566
lines changed

.eslintignore

100755100644
+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
coverage
22
dist
33
node_modules
4+
example
5+
*.test.js

.eslintrc.js

100755100644
+2-2
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,14 @@ module.exports = {
3636
'id-length': [
3737
'error',
3838
{
39-
min: 2,
39+
min: 1,
4040
max: 50,
4141
properties: 'never',
4242
exceptions: ['e', 'i', 'n', 't', 'x', 'y', 'z', '_', '$']
4343
}
4444
],
4545
'no-alert': 'error',
46-
'no-console': 'error',
46+
'no-console': 'off',
4747
'no-const-assign': 'error',
4848
'no-else-return': 'error',
4949
'no-empty': 'off',

.gitignore

100755100644
+1
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,5 @@ build/
1919
.env*
2020
env.js
2121
package-lock.json
22+
test
2223
yarn.lock

.npmignore

100755100644
+1-8
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,2 @@
1-
components
2-
examples
3-
.idea
4-
.serverless
5-
coverage
6-
.env*
7-
env.js
8-
tmp
91
test
2+
example

.npmrc

100755100644
File mode changed.

.prettierignore

100755100644
+1-21
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,3 @@
1-
.DS_Store
2-
*.sublime-project
3-
*.sublime-workspace
4-
*.log
5-
.serverless
6-
v8-compile-cache-*
7-
jest/*
81
coverage
9-
.serverless_plugins
10-
testProjects/*/package-lock.json
11-
testProjects/*/yarn.lock
12-
.serverlessUnzipped
13-
node_modules
14-
.vscode/
15-
.eslintcache
162
dist
17-
.idea
18-
build/
19-
.env*
20-
env.js
21-
package-lock.json
22-
yarn.lock
23-
CHANGELOG.md
3+
node_modules

.travis.yml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
language: node_js
2+
3+
node_js:
4+
- 8
5+
- 10
6+
7+
install:
8+
- npm install
9+
10+
# should change to serverless registry publish
11+
jobs:
12+
include:
13+
# Define the release stage that runs semantic-release
14+
- stage: release
15+
node_js: 10.18
16+
# Advanced: optionally overwrite your default `script` step to skip the tests
17+
# script: skip
18+
deploy:
19+
provider: script
20+
skip_cleanup: true
21+
script:
22+
- npm run release

CHANGELOG.md

-96
This file was deleted.

0 commit comments

Comments
 (0)