Skip to content

Commit eecda6e

Browse files
authored
Update project dependencies (#4)
* update dependencies * update example * update npmignore * 2.0.0 * update test script * add pm2 script * update test action * update test action * update node version for testing
1 parent 226c91a commit eecda6e

27 files changed

Lines changed: 38837 additions & 42548 deletions

.eslintrc

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@
33
"extends": [
44
"standard",
55
"standard-react",
6-
"plugin:prettier/recommended",
7-
"prettier/standard",
8-
"prettier/react",
96
"plugin:@typescript-eslint/eslint-recommended"
107
],
118
"env": {

.github/workflows/npm-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99

1010
strategy:
1111
matrix:
12-
node-version: [10.x, 12.x]
12+
node-version: [14.x, 16.x]
1313

1414
steps:
1515
- uses: actions/checkout@v1
@@ -22,6 +22,6 @@ jobs:
2222
npm ci
2323
npm run pm2:api
2424
npm run build
25-
npm run test:unit
25+
npm test -- --watchAll=false
2626
env:
2727
CI: true

.gitpod.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# This configuration file was automatically generated by Gitpod.
2+
# Please adjust to your needs (see https://www.gitpod.io/docs/introduction/learn-gitpod/gitpod-yaml)
3+
# and commit this file to your remote git repository to share the goodness with others.
4+
5+
# Learn more from ready-to-use templates: https://www.gitpod.io/docs/introduction/getting-started/quickstart
6+
7+
tasks:
8+
- init: npm install && npm run build
9+
10+

.npmignore

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# gitpod
2+
.gitpod.yml
3+
4+
# prettier
5+
.prettierrc
6+
7+
# build
8+
rollup.config.js
9+
tsconfig.json
10+
tsconfig.test.json
11+
12+
# babel
13+
babel.config.js
14+
15+
# eslint
16+
.eslintrc
17+
.eslintignore
18+
.editorconfig
19+
20+
# test
21+
example
22+
23+
# src
24+
src/*.test.tsx
25+
26+
# github
27+
.github
28+
29+

.prettierrc

Lines changed: 0 additions & 10 deletions
This file was deleted.

.travis.yml

Lines changed: 0 additions & 4 deletions
This file was deleted.

babel.config.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
module.exports = {
2+
presets: [
3+
['@babel/preset-env', { targets: { node: 'current' } }],
4+
'@babel/preset-typescript'
5+
]
6+
}

0 commit comments

Comments
 (0)