-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
44 lines (43 loc) · 1.18 KB
/
package.json
File metadata and controls
44 lines (43 loc) · 1.18 KB
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
{
"name": "bionic-reader",
"version": "1.0.0",
"description": "Bionic Reader - tests and core text transform",
"main": "src/bionic-core.js",
"scripts": {
"test": "jest --coverage",
"lint": "eslint *.js src/**/*.js tests/**/*.js",
"lint:fix": "eslint --fix *.js src/**/*.js tests/**/*.js",
"format": "prettier --write \"**/*.{js,json,md}\"",
"format:check": "prettier --check \"**/*.{js,json,md}\"",
"build": "webpack --mode production",
"build:dev": "webpack --mode development",
"watch": "webpack --mode development --watch",
"prepare": "husky install"
},
"jest": {
"setupFilesAfterEnv": ["<rootDir>/jest.setup.js"]
},
"devDependencies": {
"@babel/core": "^7.24.0",
"@babel/preset-env": "^7.24.0",
"babel-loader": "^9.1.3",
"eslint": "^8.57.0",
"husky": "^9.0.11",
"jest": "^29.0.0",
"jest-environment-jsdom": "^30.1.2",
"lint-staged": "^15.2.2",
"prettier": "^3.2.5",
"webpack": "^5.90.3",
"webpack-cli": "^5.1.4"
},
"lint-staged": {
"*.js": [
"eslint --fix",
"prettier --write",
"jest --bail --findRelatedTests"
],
"*.{json,md}": [
"prettier --write"
]
}
}