-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
103 lines (103 loc) · 3.05 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
{
"name": "@lab49/react-order-book",
"version": "0.1.4",
"description": "Render an order book for any asset class. Flexible and customizable.",
"author": "brianmcallister",
"license": "MIT",
"repository": "@lab49/react-order-book",
"bugs": {
"url": "https://github.com/lab49/react-order-book/issues"
},
"homepage": "https://github.com/lab49/react-order-book",
"keywords": [
"react",
"finance",
"fintech",
"streaming",
"realtime",
"javascript",
"typescript"
],
"main": "dist/OrderBook.js",
"module": "dist/OrderBook.mjs",
"source": "src/OrderBook.tsx",
"files": [
"dist"
],
"scripts": {
"build-storybook": "build-storybook",
"build": "tsup src/OrderBook.tsx --dts --sourcemap --format esm,cjs,iife",
"chromatic": "chromatic --project-token 60pcjug3hz",
"lint": "eslint --ext ts,tsx src",
"prepare": "npm run build && husky install",
"start": "tsup src/OrderBook.tsx --watch",
"storybook": "start-storybook -p 9009",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"types": "tsc --noEmit"
},
"peerDependencies": {
"big.js": "^6.1.1",
"react": "^16.x || 17 || 18"
},
"devDependencies": {
"@babel/plugin-transform-runtime": "^7.15.0",
"@babel/preset-env": "^7.11.0",
"@babel/preset-react": "^7.10.4",
"@babel/preset-typescript": "^7.10.4",
"@storybook/addon-docs": "^6.5.15",
"@storybook/addon-essentials": "^6.5.15",
"@storybook/addons": "^6.5.15",
"@storybook/preset-typescript": "^3.0.0",
"@storybook/react": "^6.5.15",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^14.4.3",
"@types/big.js": "^6.1.3",
"@types/jest": "^27.4.1",
"@types/node": "^17.0.23",
"@types/react": "^16.9.27",
"@types/react-dom": "^16.9.7",
"@types/testing-library__jest-dom": "^5.14.5",
"@typescript-eslint/eslint-plugin": "^5.19.0",
"@typescript-eslint/parser": "^5.19.0",
"babel-eslint": "^10.0.3",
"babel-loader": "^8.1.0",
"big.js": "^6.1.1",
"chromatic": "^6.14.0",
"eslint": "^8.13.0",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-node": "^11.0.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-react": "^7.20.5",
"eslint-plugin-react-hooks": "^4.0.8",
"eslint-plugin-storybook": "^0.6.8",
"husky": "^7.0.4",
"jest": "^29.3.1",
"jest-environment-jsdom": "^29.3.1",
"lint-staged": "^12.3.7",
"prettier": "^2.6.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"tsup": "^6.5.0",
"typescript": "^4.6.3"
},
"lint-staged": {
"src/**/*.{js,ts,jsx,tsx}": [
"eslint --fix"
],
"*.json": [
"prettier --write"
],
"*.{ts,tsx}": "eslint --cache --fix"
},
"jest": {
"testEnvironment": "jsdom"
}
}