-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
85 lines (85 loc) · 2.1 KB
/
package.json
File metadata and controls
85 lines (85 loc) · 2.1 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
79
80
81
82
83
84
85
{
"version": "0.10.0-beta",
"license": "MIT",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"files": [
"dist",
"tailwind.config.js"
],
"keywords": [
"react",
"browserless.io",
"ui"
],
"engines": {
"node": ">=10"
},
"repository": {
"type": "git",
"url": "https://github.com/browserless/browserless-elements"
},
"scripts": {
"start": "tsdx watch",
"build": "tsdx build && tailwindcss -i ./src/globals.css -o ./dist/elements.css --minify",
"build-package": "npm run build && npm pack",
"test": "tsdx test --passWithNoTests",
"lint": "eslint src --ext .ts,.tsx --fix",
"size": "size-limit",
"analyze": "size-limit --why",
"prettier": "prettier --config .prettierrc --write --log-level error \"src/**/*.{ts,tsx,css}\" tailwind.config.js",
"publish:test": "npm run build && npm publish --registry http://localhost:4873/"
},
"peerDependencies": {
"react": ">=16"
},
"husky": {
"hooks": {
"pre-commit": "tsdx lint"
}
},
"prettier": {
"printWidth": 80,
"semi": true,
"singleQuote": true,
"trailingComma": "es5"
},
"name": "@browserless.io/elements",
"author": "browserless.io",
"module": "dist/elements.esm.js",
"size-limit": [
{
"path": "dist/elements.cjs.production.min.js",
"limit": "10 KB"
},
{
"path": "dist/elements.esm.js",
"limit": "10 KB"
}
],
"devDependencies": {
"@size-limit/preset-small-lib": "^8.2.6",
"@types/node": "^20.4.9",
"@types/react": "^18.2.19",
"@types/react-dom": "^18.2.7",
"@typescript-eslint/parser": "^6.5.0",
"cssnano": "^6.0.1",
"eslint": "^8.48.0",
"eslint-config-next": "^13.4.19",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-react": "^7.33.2",
"husky": "^8.0.3",
"prettier": "^3.0.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"size-limit": "^8.2.6",
"tailwindcss": "^3.3.3",
"tsdx": "^0.14.1",
"tslib": "^2.6.1",
"typescript": "^5.1.6"
},
"dependencies": {
"refractor": "^4.8.1"
}
}