-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
44 lines (44 loc) · 2.21 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{
"name": "algorithm-exercises-js",
"version": "1.0.0",
"description": "Algorithm exercises solved in Javascript ECMA6, running with Jest testing suite. Developed with TDD.",
"main": "src/problem0000.js",
"scripts": {
"build": "npx --yes copyfiles --verbose -R --up 1 -e \"**/*.test.js\" -e \"**/*.config.js\" \"**/*.js\" dist/",
"start": "npm run test",
"lint": "npx --yes eslint --env-info; npx --yes eslint . --color --max-warnings=0 && echo '✔ Your code looks good.'",
"lint:watch": "npx --yes esw . --color --max-warnings=0 --watch",
"jest:ci": "node --experimental-vm-modules ./node_modules/.bin/jest --no-cache --ci --color --detectOpenHandles --forceExit --runInBand --debug",
"jest:clean": "npx --yes jest --clearCache && npx --yes watchman watch-del-all",
"jest:bruteforce": "BRUTEFORCE=true node --experimental-vm-modules ./node_modules/.bin/jest --no-cache --ci --color --detectOpenHandles --forceExit --runInBand --debug",
"jest:watch": "node --experimental-vm-modules ./node_modules/.bin/jest --no-cache --ci --color --detectOpenHandles --forceExit --runInBand --debug --watchAll",
"style:format": "npx --yes prettier --write 'src/**/*.js'",
"style:check": "npx --yes prettier --check 'src/**/*.js'",
"test": "npm run jest:ci",
"test:all": "npm run lint && npm run test && echo 'Done.'",
"test:watch": "npx --yes concurrently -k -s first --names \"LINT,TEST\" -p \"[{name}]\" \"npm run lint:watch\" \"npm run jest:watch\"",
"update-all": "npm install $(npm outdated | cut -d' ' -f 1 | sed '1d' | xargs -I '$' echo '$@latest' | xargs echo)"
},
"author": "Gonzalo Diaz <devel@gon.cl>",
"license": "MIT",
"type": "module",
"devDependencies": {
"@babel/eslint-parser": "^7.23.3",
"@babel/plugin-syntax-import-assertions": "^7.23.3",
"@jest/globals": "^29.7.0",
"concurrently": "9.0.0",
"eslint": "8.57.0",
"eslint-config-airbnb-base": "15.0.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-import": "2.30.0",
"eslint-plugin-jest": "28.8.3",
"eslint-plugin-prettier": "5.2.1",
"eslint-watch": "8.0.0",
"jest": "29.7.0",
"prettier": "3.3.3"
},
"dependencies": {
"pino": "^9.2.0",
"pino-pretty": "^11.0.0"
}
}