-
Notifications
You must be signed in to change notification settings - Fork 544
/
Copy pathpackage.json
160 lines (160 loc) · 4.31 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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
{
"name": "react-joyride",
"version": "2.9.3",
"description": "Create guided tours for your apps",
"author": "Gil Barbara <[email protected]>",
"repository": {
"type": "git",
"url": "git+https://github.com/gilbarbara/react-joyride.git"
},
"bugs": {
"url": "https://github.com/gilbarbara/react-joyride/issues"
},
"homepage": "https://react-joyride.com/",
"keywords": [
"react",
"react-component",
"tooltips",
"joyride",
"walkthroughs",
"tour"
],
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"exports": {
"import": "./dist/index.mjs",
"require": "./dist/index.js"
},
"files": [
"dist",
"src"
],
"types": "dist/index.d.ts",
"sideEffects": false,
"license": "MIT",
"peerDependencies": {
"react": "15 - 18",
"react-dom": "15 - 18"
},
"dependencies": {
"@gilbarbara/deep-equal": "^0.3.1",
"deep-diff": "^1.0.2",
"deepmerge": "^4.3.1",
"is-lite": "^1.2.1",
"react-floater": "^0.7.9",
"react-innertext": "^1.1.5",
"react-is": "^16.13.1",
"scroll": "^3.0.1",
"scrollparent": "^2.1.0",
"tree-changes": "^0.11.2",
"type-fest": "^4.27.0"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.17.0",
"@gilbarbara/eslint-config": "^0.8.2",
"@gilbarbara/node-helpers": "^0.1.0",
"@gilbarbara/prettier-config": "^1.0.0",
"@gilbarbara/tsconfig": "^0.2.3",
"@playwright/experimental-ct-react": "^1.48.2",
"@size-limit/preset-big-lib": "^11.1.6",
"@swc/core": "^1.9.2",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.0.1",
"@total-typescript/shoehorn": "^0.1.2",
"@types/exenv": "^1.2.2",
"@types/node": "^22.9.0",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@types/scroll": "^3.0.3",
"@types/scrollparent": "^2.0.3",
"@vitejs/plugin-react-swc": "^3.7.1",
"@vitest/coverage-v8": "^2.1.5",
"caniuse-lite": "^1.0.30001680",
"cross-env": "^7.0.3",
"csstype": "^3.1.3",
"del-cli": "^6.0.0",
"husky": "^9.1.6",
"is-ci-cli": "^2.2.0",
"jest-extended": "^4.0.2",
"jsdom": "^25.0.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"repo-tools": "^0.3.1",
"size-limit": "^11.1.6",
"ts-node": "^10.9.2",
"tsup": "^8.3.5",
"typescript": "^5.6.3",
"vite-tsconfig-paths": "^5.1.2",
"vitest": "^2.1.5"
},
"scripts": {
"build": " npm run clean && tsup && ts-node scripts/fix-cjs.ts",
"watch": "tsup --watch",
"clean": "del dist/*",
"lint": "eslint --fix src test",
"typecheck": "tsc -p test/tsconfig.json",
"typevalidation": "attw -P",
"test": "is-ci \"test:coverage\" \"test:watch\"",
"test:coverage": "vitest run --coverage",
"test:watch": "vitest watch",
"e2e": "playwright test -c playwright-ct.config.ts",
"e2e:debug": "npm run e2e -- --project=chromium --debug",
"e2e:ui": "npm run e2e -- --ui",
"format": "prettier \"**/*.{js,jsx,ts,tsx}\" --write",
"validate": "npm run lint && npm run typecheck && npm run test:coverage && npm run e2e && npm run build && npm run size && npm run typevalidation",
"size": "size-limit",
"prepare": "husky",
"prepublishOnly": "npm run validate"
},
"tsup": {
"dts": true,
"entry": [
"src/index.tsx"
],
"format": [
"cjs",
"esm"
],
"target": "es2018",
"sourcemap": true,
"splitting": false
},
"eslintConfig": {
"extends": [
"@gilbarbara/eslint-config",
"@gilbarbara/eslint-config/vitest",
"@gilbarbara/eslint-config/testing-library"
],
"overrides": [
{
"files": [
"test/**/*.ts?(x)"
],
"rules": {
"no-console": "off",
"no-constructor-return": "off",
"prefer-destructuring": "off",
"jsx-a11y/anchor-has-content": "off",
"jsx-a11y/anchor-is-valid": "off",
"react/destructuring-assignment": "off",
"react/jsx-filename-extension": "off",
"react/prop-types": "off"
}
}
]
},
"prettier": "@gilbarbara/prettier-config",
"size-limit": [
{
"name": "commonjs",
"path": "./dist/index.js",
"limit": "45 kB"
},
{
"name": "esm",
"path": "./dist/index.mjs",
"limit": "35 kB"
}
]
}