-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
78 lines (78 loc) · 2.34 KB
/
package.json
File metadata and controls
78 lines (78 loc) · 2.34 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
{
"name": "laika-react",
"version": "2.0.0",
"description": "React Laika client",
"homepage": "https://github.com/MEDIGO",
"keywords": [
"React",
"Laika",
"npm",
"Feature Flag"
],
"types": "dist/index.d.ts",
"typings": "dist/index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/MEDIGO/laika-react"
},
"main": "./dist/index.js",
"license": "MIT",
"scripts": {
"build": "tsc",
"test": "cypress run --component",
"test:coverage": "cypress run --component && nyc report --reporter=text --reporter=lcov",
"coverage:open": "open coverage/lcov-report/index.html",
"format:check": "prettier --check \"src/**/*.{ts,tsx,js,jsx}\" \"*.{ts,js,json,md}\"",
"format:write": "prettier --write \"src/**/*.{ts,tsx,js,jsx}\" \"*.{ts,js,json,md}\"",
"lint": "eslint . --ext .ts,.tsx,.js,.jsx && npm run format:check",
"lint:fix": "eslint . --ext .ts,.tsx,.js,.jsx --fix && npm run format:write"
},
"files": [
"/dist"
],
"peerDependencies": {
"react": "^17.0.0 || ^18.0.0",
"react-dom": "^17.0.0 || ^18.0.0"
},
"devDependencies": {
"@babel/core": "^7.15.8",
"@babel/preset-env": "^7.15.8",
"@babel/preset-react": "^7.14.5",
"@cypress/code-coverage": "^3.14.7",
"@cypress/react": "^9.0.0",
"@cypress/webpack-dev-server": "^5.1.3",
"@eslint/js": "^9.37.0",
"@jsdevtools/coverage-istanbul-loader": "^3.0.5",
"@types/node": "^16.10.3",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"@types/webpack": "^5.28.0",
"@typescript-eslint/eslint-plugin": "^8.46.1",
"@typescript-eslint/parser": "^8.46.1",
"babel-loader": "^8.2.2",
"babel-plugin-istanbul": "^7.0.1",
"cypress": "^15.4.0",
"eslint": "^9.37.0",
"eslint-plugin-cypress": "^5.2.0",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^7.0.0",
"html-webpack-plugin": "^5.3.2",
"istanbul-lib-coverage": "^3.2.2",
"nyc": "^17.1.0",
"postinstall-postinstall": "^2.1.0",
"prettier": "^3.6.2",
"prop-types": "^15.7.2",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"ts-loader": "^9.2.6",
"ts-node": "^10.2.1",
"typescript": "^5.0.0",
"webpack": "^5.102.1",
"webpack-dev-server": "^5.2.2"
},
"prettier": {
"singleQuote": true,
"trailingComma": "all",
"semi": false
}
}