-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
135 lines (135 loc) · 3.72 KB
/
Copy pathpackage.json
File metadata and controls
135 lines (135 loc) · 3.72 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
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
{
"name": "@feedzai/js-utilities",
"description": "A collection of common javascript utilities for web projects",
"private": false,
"version": "2.4.0",
"sideEffects": false,
"license": "AGPL-3.0-only",
"type": "module",
"files": [
"dist"
],
"homepage": "https://github.com/feedzai/js-utilities",
"repository": {
"type": "git",
"url": "git+https://github.com/feedzai/js-utilities.git"
},
"publishConfig": {
"access": "public"
},
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
},
"./hooks": {
"types": "./dist/hooks.d.ts",
"import": "./dist/hooks.mjs",
"require": "./dist/hooks.cjs"
}
},
"typesVersions": {
"*": {
"hooks": [
"./dist/hooks.d.ts"
]
}
},
"scripts": {
"build": "npm run types:check && vite build",
"bundle-size": "size-limit",
"docs:build": "cd ./docs && npm run build",
"docs:build-ci": "npm run docs:install && npm run docs:build",
"docs:install": "cd ./docs && npm install",
"docs:serve": "cd ./docs && npm run build && npm run serve",
"docs:start-ci": "npm run docs:install && npm run docs:start",
"docs:start": "cd ./docs && npm run start",
"postbuild": "npm run bundle-size",
"posttest": "npx nyc report --reporter=text-summary",
"pretest": "merge-coverage clear && merge-coverage clear --folder coverage-reports/cypress && merge-coverage clear --folder coverage || true",
"reinstall": "rimraf node_modules && npm install",
"semantic-release": "semantic-release",
"test:unit-run": "TZ=Europe/Lisbon cypress run --component",
"test:unit": "TZ=Europe/Lisbon cypress open --component",
"test": "npm run test:unit-run",
"types:check": "tsc --project ./tsconfig.json --noEmit",
"upgrade": "npx npm-check-updates --format=group --interactive"
},
"peerDependencies": {
"react": ">= 16.14",
"react-dom": ">= 16.14"
},
"peerDependenciesMeta": {
"react": {
"optional": true
},
"react-dom": {
"optional": true
}
},
"devDependencies": {
"@cypress/code-coverage": "^3.14.2",
"@jtmdias/merge-coverage": "^1.1.1",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/commit-analyzer": "^12.0.0",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^10.0.7",
"@semantic-release/npm": "^12.0.1",
"@semantic-release/release-notes-generator": "^12.1.0",
"@size-limit/preset-small-lib": "^11.1.6",
"@testing-library/cypress": "^10.0.2",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@typescript-eslint/eslint-plugin": "^7.15.0",
"@typescript-eslint/parser": "^7.15.0",
"@vitejs/plugin-react-swc": "^3.7.1",
"cypress": "^13.15.1",
"eslint": "^8.57.0",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-react-refresh": "^0.4.6",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"sass": "^1.80.4",
"semantic-release": "^23.0.8",
"size-limit": "^11.1.6",
"typescript": "^5.6.3",
"vite-plugin-dts": "^3.9.1",
"vite-plugin-istanbul": "^6.0.2",
"vite-tsconfig-paths": "^4.3.2",
"vite": "^5.4.10"
},
"size-limit": [
{
"path": "dist/index.cjs",
"limit": "11 kB",
"ignore": [
"fs"
]
},
{
"path": "dist/index.mjs",
"limit": "11 kB",
"ignore": [
"fs"
]
},
{
"path": "dist/hooks.cjs",
"limit": "11 kB",
"ignore": [
"fs"
]
},
{
"path": "dist/hooks.mjs",
"limit": "11 kB",
"ignore": [
"fs"
]
}
]
}