-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
113 lines (113 loc) · 3.34 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
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
{
"name": "@lab49/react-value-flash",
"version": "0.1.7",
"description": "Flash on value change. Perfect for financial applications.",
"author": "brianmcallister",
"license": "MIT",
"repository": "@lab49/react-value-flash",
"bugs": {
"url": "https://github.com/lab49/react-value-flash/issues"
},
"homepage": "https://github.com/lab49/react-value-flash",
"keywords": [
"react",
"finance",
"fintech",
"streaming",
"realtime",
"javascript",
"typescript"
],
"main": "dist/index.js",
"module": "dist/index.modern.js",
"source": "src/Flash.tsx",
"files": [
"dist"
],
"scripts": {
"build-storybook": "build-storybook",
"build": "tsup src/Flash.tsx --dts --sourcemap --format esm,cjs,iife",
"lint:staged": "eslint",
"lint": "ESLINT_USE_FLAT_CONFIG=false eslint --config=eslint.config.js --ext=ts,tsx src",
"precommit": "lint-staged",
"prepare": "husky install & npm run build",
"start": "tsup src/Flash.tsx --watch",
"storybook": "start-storybook -p 6006",
"test:watch": "jest --watch",
"test": "jest",
"types": "tsc --noEmit",
"test-storybook": "test-storybook"
},
"peerDependencies": {
"classnames": "^2.x",
"react": ">=16.8"
},
"devDependencies": {
"@babel/core": "^7.20.7",
"@babel/preset-env": "^7.20.2",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.18.6",
"@storybook/addon-actions": "^6.5.15",
"@storybook/addon-essentials": "^6.5.15",
"@storybook/addon-interactions": "^6.5.15",
"@storybook/addon-links": "^6.5.15",
"@storybook/builder-webpack5": "^6.5.15",
"@storybook/jest": "^0.0.10",
"@storybook/manager-webpack5": "^6.5.15",
"@storybook/react": "^6.5.15",
"@storybook/test-runner": "^0.9.2",
"@storybook/testing-library": "^0.0.13",
"@swc/core": "^1.3.24",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^14.4.3",
"@types/classnames": "^2.3.1",
"@types/jest": "^29.2.4",
"@types/node": "^18.11.18",
"@types/react": "^18.0.26",
"@types/react-dom": "^18.0.10",
"@typescript-eslint/eslint-plugin": "^5.47.1",
"@typescript-eslint/parser": "^5.47.1",
"babel-eslint": "^10.0.3",
"babel-loader": "^9.1.0",
"chromatic": "^6.14.0",
"classnames": "^2.3.2",
"cross-env": "^7.0.3",
"eslint": "^8.30.0",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jsx-a11y": "^6.6.1",
"eslint-plugin-node": "^11.0.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-react": "^7.31.11",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-storybook": "^0.6.8",
"html-webpack-plugin": "^5.5.0",
"husky": "^8.0.2",
"jest": "^29.3.1",
"jest-environment-jsdom": "^29.3.1",
"lint-staged": "^13.1.0",
"prettier": "^2.8.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"ts-loader": "^9.4.2",
"tsup": "^6.5.0",
"typescript": "^4.9.4"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint --config=eslint.config.js --fix",
"prettier --write"
]
},
"jest": {
"testEnvironment": "jsdom"
}
}