-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
76 lines (76 loc) · 2.52 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
{
"name": "@thoughtbot/candy_wrapper",
"version": "0.0.2",
"description": "Use rails forms with popular react UI libraries",
"scripts": {
"build": "tsup",
"build:wrappers": "tsc --project ./wrappers/tsconfig.json && rm -r wrappers/js/* && mv -v temp/wrappers/ts/* wrappers/js",
"dev": "tsup --watch",
"clean": "rm -rf dist",
"lint": "run-p lint:eslint lint:types lint:prettier",
"lint:eslint": "eslint --max-warnings=0 --ext js,jsx,ts,tsx ./candy_wrapper",
"lint:prettier": "prettier --check '**/*' --ignore-unknown",
"lint:types": "tsc",
"fix:prettier": "prettier --write '**/*' --ignore-unknown",
"test": "TZ=UTC vitest",
"test:run": "vitest run",
"test:cov": "vitest --coverage",
"test:all": "npm lint && npm test:run",
"pub:beta": "npm build && npm publish --tag beta",
"pub:release": "npm build && npm publish"
},
"repository": {
"type": "git",
"url": "git+https://github.com/thoughtbot/candy_wrapper.git"
},
"author": "Johny Ho",
"main": "dist/cjs/candy_wrapper.cjs",
"module": "dist/candy_wrapper.mjs",
"types": "dist/candy_wrapper.d.mts",
"exports": {
"./package.json": "./package.json",
".": {
"types": "./dist/candy_wrapper.d.mts",
"import": "./dist/candy_wrapper.mjs",
"default": "./dist/cjs/candy_wrapper.cjs"
}
},
"license": "MIT",
"bugs": {
"url": "https://github.com/thoughtbot/candy_wrapper/issues"
},
"homepage": "https://github.com/thoughtbot/candy_wrapper#readme",
"devDependencies": {
"@mantine/core": "^7.15.3",
"@mantine/dates": "^7.15.3",
"@nextui-org/react": "^2.4.8",
"@react-aria/test-utils": "^1.0.0-alpha.2",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.5.0",
"@testing-library/user-event": "^14.5.2",
"@types/react": "^18.3.12",
"@typescript-eslint/eslint-plugin": "^7.15.0",
"@typescript-eslint/parser": "^7.15.0",
"@vitejs/plugin-react": "^4.3.1",
"@vitest/coverage-v8": "^2.0.2",
"dayjs": "^1.11.13",
"eslint": "^8.57.0",
"eslint-plugin-react": "^7.34.3",
"eslint-plugin-vitest-globals": "^1.5.0",
"framer-motion": "^11.11.11",
"happy-dom": "^15.7.4",
"prettier": "^2.3.1",
"prettier-eslint": "^16.3.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"tsup": "^8.1.0",
"typedoc": "^0.26.5",
"typedoc-plugin-markdown": "^4.2.3",
"typedoc-plugin-missing-exports": "^3.0.0",
"typescript": "^5.5.3",
"vitest": "^2.0.2"
},
"peerDependencies": {
"react": "^18 || ^19"
}
}