Skip to content

Commit ad71792

Browse files
authored
Merge pull request #25 from CedricProfessionnel/avaToDevDependencie
ava to devdep
2 parents 0166530 + 07d8a34 commit ad71792

File tree

5 files changed

+333
-235
lines changed

5 files changed

+333
-235
lines changed

.eslintrc.js

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
module.exports = {
2-
"env": {
3-
"browser": true,
4-
"commonjs": true,
5-
"es2020": true
6-
},
7-
"extends": "eslint:recommended",
8-
"parserOptions": {
9-
"ecmaVersion": 12
10-
},
11-
"rules": {
12-
}
13-
};
2+
env: {
3+
browser: true,
4+
commonjs: true,
5+
es2020: true,
6+
},
7+
extends: "eslint:recommended",
8+
parserOptions: {
9+
ecmaVersion: 12,
10+
},
11+
rules: {},
12+
}

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ jobs:
2525
env:
2626
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2727
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
28-
run: npx semantic-release
28+
run: npx semantic-release

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
node_modules
22
*.db
3-
.idea
3+
.idea
4+
launch.json

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@
1010
"scripts": {
1111
"start": "micro-dev --watch src ./app.js",
1212
"start:prod": "micro ./app.js",
13-
"test": " npm run test:ava && npm run lint && npm run test:prettier",
13+
"test": " yarn test:ava && yarn lint && yarn test:prettier",
1414
"prettier": "prettier --write \"src/**/*.js\"",
1515
"test:prettier": "prettier --check \"src/**/*.js\"",
16-
"test:ava": "ava tests/**/*.test.js",
16+
"test:ava": "yarn ava tests/**/*.test.js",
1717
"lint": "eslint src tests"
1818
},
1919
"dependencies": {
20-
"ava": "^3.13.0",
20+
"bent": "^7.3.6",
2121
"better-sqlite3": "^7.1.0",
2222
"fast-json-patch": "^3.0.0-1",
2323
"json-stable-stringify": "^1.0.1",
@@ -28,13 +28,13 @@
2828
"microrouter": "^3.1.3",
2929
"randomstring": "^1.1.5",
3030
"rfc6902": "^4.0.1",
31-
"yargs": "^16.0.3",
3231
"rimraf": "^3.0.2",
33-
"bent": "^7.3.6",
34-
"tmp": "^0.2.1"
32+
"tmp": "^0.2.1",
33+
"yargs": "^16.0.3"
3534
},
3635
"devDependencies": {
3736
"@semantic-release/git": "^9.0.0",
37+
"ava": "^3.15.0",
3838
"eslint": "^7.10.0",
3939
"prettier": "^2.0.5",
4040
"test-listen": "^1.1.0"

0 commit comments

Comments
 (0)