-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
104 lines (104 loc) · 2.95 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
{
"name": "react-image-turntable",
"description": "Display a set of images as a draggable 360 degree turntable.",
"keywords": [
"react",
"image",
"360",
"turntable",
"rotator",
"slider"
],
"version": "3.1.2",
"repository": {
"type": "git",
"url": "git+https://github.com/nerdyman/react-image-turntable.git"
},
"author": "nerdyman",
"license": "MIT",
"sideEffects": false,
"packageManager": "[email protected]",
"engines": {
"node": ">=16.9.0"
},
"module": "dist/index.mjs",
"typings": "dist/index.d.mts",
"files": [
"dist",
"src"
],
"scripts": {
"bootstrap": "npm run bootstrap:project && npm run bootstrap:playwright",
"bootstrap:project": "corepack enable && pnpm i --frozen-lockfile",
"bootstrap:playwright": "pnpm exec playwright install chromium",
"build": "tsup",
"dev": "pnpm -r --stream run start",
"dx": "npm run bootstrap && pnpm exec husky install && pnpm run prepare",
"clean": "rm -rf ./node_modules ./coverage ./dist ./.nyc_output ./.*.log ./example/node_modules",
"lint": "eslint . && prettier --check .",
"prepare": "husky install",
"release": "pnpm run release:preflight && pnpm run release:publish",
"release:preflight": "pnpm run lint && pnpm run test && pnpm run build",
"release:publish": "release-it",
"size": "size-limit",
"start": "tsup --watch",
"test": "rm -rf {.nyc_output,coverage} && playwright test && pnpm nyc report --reporter=lcov",
"test:no-coverage": "playwright test",
"test:debug": "env PWDEBUG=1 NODE_ENV=test playwright test && pnpm nyc report --reporter=lcov"
},
"lint-staged": {
"**/*.{js,jsx,ts,tsx}": [
"prettier --write",
"eslint --fix"
]
},
"np": {
"pnpm": true
},
"prettier": {
"printWidth": 100,
"semi": true,
"singleQuote": true,
"trailingComma": "all"
},
"size-limit": [
{
"path": "dist/index.mjs",
"limit": "1.2 KB"
}
],
"peerDependencies": {
"react": ">=16.8"
},
"devDependencies": {
"@babel/preset-react": "^7.23.3",
"@babel/preset-typescript": "^7.23.3",
"@playwright/test": "^1.39.0",
"@size-limit/preset-small-lib": "^11.0.0",
"@types/jest-axe": "^3.5.8",
"@types/node": "^20.9.0",
"@types/react": "^18.2.37",
"@types/react-dom": "^18.2.15",
"@typescript-eslint/eslint-plugin": "^6.11.0",
"@typescript-eslint/parser": "^6.11.0",
"axe-core": "^4.8.2",
"axe-playwright": "^1.2.3",
"babel-plugin-istanbul": "^6.1.1",
"esbuild-plugin-babel": "^0.2.3",
"eslint": "^8.53.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"husky": "^8.0.3",
"lint-staged": "^15.1.0",
"nyc": "^15.1.0",
"playwright-core": "^1.39.0",
"prettier": "^3.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"release-it": "^17.0.1",
"size-limit": "^11.0.0",
"tslib": "^2.6.2",
"tsup": "^7.2.0",
"typescript": "^5.2.2"
}
}