-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
90 lines (90 loc) · 2.47 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
{
"name": "remix-toast",
"version": "2.0.0",
"description": "Utility functions for server-side toast notifications",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js",
"import": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"import": "./dist/index.cjs",
"require": "./dist/index.cjs",
"default": "./dist/index.cjs"
},
"types": "./dist/index.d.ts"
}
},
"typings": "./dist/index.d.ts",
"files": [
"dist"
],
"workspaces": [
"test-apps/*",
"."
],
"scripts": {
"build": "tsup src/index.ts --format cjs,esm --dts --clean",
"dev-build": "tsup src/index.ts --format cjs,esm --dts --clean",
"react-router-dev": "npm run dev -w test-apps/react-router",
"build:dev": "npm run dev-build",
"build:dev:watch": "npm run dev-build -- --watch",
"dev": "npm-run-all -s build:dev -p react-router-dev build:dev:watch",
"prepublishOnly": "npm run build",
"test": "vitest run",
"tsc": "tsc",
"validate": "npm run lint && npm run tsc && npm run test",
"lint": "eslint \"src/**/*.+(ts|tsx)\"",
"lint:fix": "npm run lint -- --fix",
"prettier": "prettier app --check",
"prettier:fix": "prettier app --write",
"format-code": "npm run prettier:fix & npm run lint:fix"
},
"peerDependencies": {
"react-router": ">=7.0.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/forge42dev/remix-toast.git"
},
"keywords": [
"Remix",
"Remix.run",
"toast",
"notifications",
"utilities"
],
"author": "Alem Tuzlak",
"license": "MIT",
"bugs": {
"url": "https://github.com/forge42dev/remix-toast/issues"
},
"homepage": "https://github.com/forge42dev/remix-toast#readme",
"readme": "https://github.com/forge42dev/remix-toast#readme",
"dependencies": {
"zod": "^3.22.3"
},
"devDependencies": {
"@testing-library/react": "^14.0.0",
"@types/node": "^18.15.11",
"@types/react": "^18.0.34",
"@vitest/coverage-c8": "^0.30.1",
"babel-eslint": "^10.1.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.0",
"happy-dom": "^9.5.0",
"npm-run-all": "^4.1.5",
"prettier": "^3.0.1",
"react-router": "^7.0.1",
"tsup": "^7.2.0",
"typescript": "^5.0.4",
"vite": "^4.2.1",
"vitest": "^0.30.1"
}
}