-
Notifications
You must be signed in to change notification settings - Fork 184
Expand file tree
/
Copy pathpackage.json
More file actions
73 lines (73 loc) · 2.37 KB
/
package.json
File metadata and controls
73 lines (73 loc) · 2.37 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
{
"name": "react-multistep",
"version": "7.0.0",
"description": "Responsive ReactJS multistep form component",
"main": "dist/index.js",
"files": [
"build/*.d.ts",
"dist/**"
],
"types": "build/index.d.ts",
"license": "MIT",
"exports": {
".": {
"types": "./build/index.d.ts",
"require": "./dist/index.js",
"import": "./dist/index.js"
},
"./styles": "./dist/multistep.css"
},
"author": {
"name": "@djidja8",
"email": "srdjan@timok.com",
"url": "https://github.com/srdjan"
},
"keywords": [
"react, reactjs, responsive, component"
],
"repository": {
"type": "git",
"url": "https://github.com/srdjan/react-multistep"
},
"homepage": "https://github.com/srdjan/react-multistep",
"bugs": {
"url": "https://github.com/srdjan/react-multistep/issues"
},
"devDependencies": {
"@testing-library/jest-dom": "^6.8.0",
"@testing-library/react": "^16.3.0",
"@testing-library/user-event": "^14.6.1",
"@types/node": "^24.5.2",
"@types/react": "18.2.20",
"@typescript-eslint/eslint-plugin": "^8.44.1",
"@typescript-eslint/parser": "^8.44.1",
"esbuild": "^0.25.10",
"eslint": "^9.36.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^5.2.0",
"jsdom": "^27.0.0",
"prettier": "^3.6.2",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"typescript": "^5.9.2",
"vitest": "^3.2.4"
},
"peerDependencies": {
"react": "18.3.1"
},
"scripts": {
"build": "tsc",
"bundle": "esbuild ./build/index.js \"--define:process.env.NODE_ENV='production'\" --external:react --bundle --minify --format=cjs --loader:.js=jsx --outdir=dist",
"example:server": "npm run build && esbuild examples/server-side/example.ts --platform=node --format=cjs --outfile=examples/server-side/example.js && node examples/server-side/example.js",
"test": "vitest",
"test:ui": "vitest --ui",
"test:coverage": "vitest --coverage",
"lint": "eslint src test --ext .ts,.tsx",
"lint:fix": "eslint src test --ext .ts,.tsx --fix",
"format": "prettier --write \"src/**/*.{ts,tsx}\" \"test/**/*.{ts,tsx}\"",
"format:check": "prettier --check \"src/**/*.{ts,tsx}\" \"test/**/*.{ts,tsx}\"",
"prepublishOnly": "npm run build && npm run bundle && cp src/base.css dist/multistep.css",
"publish": "npm publish ./"
}
}