|
1 | 1 | { |
2 | | - "name": "react-netlify-forms", |
3 | | - "version": "1.3.5", |
4 | | - "homepage": "https://pyrax.github.io/react-netlify-forms", |
5 | | - "bugs": { |
6 | | - "url": "https://github.com/pyrax/react-netlify-forms/issues" |
7 | | - }, |
8 | | - "description": "React components and hooks giving you the power of Netlify Forms. Start building serverless forms on Netlify with React.", |
9 | | - "keywords": [ |
10 | | - "react", |
11 | | - "netlify", |
12 | | - "forms", |
13 | | - "netlify-forms", |
14 | | - "react-netlify-form", |
15 | | - "react-netlify-forms" |
| 2 | + "name": "react-netlify-forms-monorepo", |
| 3 | + "private": true, |
| 4 | + "workspaces": [ |
| 5 | + "packages/*" |
16 | 6 | ], |
17 | | - "author": "Björn Clees <piranhadev@gmail.com> (https://github.com/pyrax/)", |
18 | | - "license": "MIT", |
19 | | - "repository": "Pyrax/react-netlify-forms", |
20 | | - "main": "dist/index.js", |
21 | | - "module": "dist/index.modern.js", |
22 | | - "source": "src/index.js", |
23 | | - "engines": { |
24 | | - "node": ">=10" |
25 | | - }, |
26 | 7 | "scripts": { |
27 | | - "build": "microbundle-crl --no-compress --format modern,cjs", |
28 | | - "start": "microbundle-crl watch --no-compress --format modern,cjs", |
29 | | - "prepare": "bun run build", |
30 | | - "test": "bun run test:lint && bun run test:build", |
31 | | - "test:build": "bun run build", |
32 | | - "test:lint": "eslint .", |
33 | | - "docs:dev": "cd www && bun run dev", |
34 | | - "docs:build": "cd www && bun run build", |
35 | | - "docs:preview": "cd www && bun run preview", |
36 | | - "prepare-deploy": "cd www && bun install && bun run clean && cp ../README.md README.md && cp ../LICENSE.md LICENSE.md", |
37 | | - "predeploy:default": "bun run prepare-deploy && cd www && bun run build", |
38 | | - "predeploy:prefix": "bun run prepare-deploy && cd www && bun run build:prefix", |
39 | | - "deploy": "bun run build && bun run deploy:gh", |
40 | | - "deploy:gh": "bun run build && bun run predeploy:prefix && gh-pages -d www/dist", |
41 | | - "deploy:netlify": "bun run build && bun run predeploy:default && netlify deploy --prod --dir=www/dist" |
42 | | - }, |
43 | | - "peerDependencies": { |
44 | | - "react": "^16.8.0 || ^17.0.2 || ^18.0.0 || ^19.0.0" |
| 8 | + "build": "bun run --cwd packages/react-netlify-forms build", |
| 9 | + "dev": "bun run --cwd packages/docs dev", |
| 10 | + "test": "bun run --cwd packages/react-netlify-forms test", |
| 11 | + "lint": "bun run --cwd packages/react-netlify-forms test:lint", |
| 12 | + "docs:dev": "bun run --cwd packages/docs dev", |
| 13 | + "docs:build": "bun run --cwd packages/docs build", |
| 14 | + "docs:preview": "bun run --cwd packages/docs preview" |
45 | 15 | }, |
46 | 16 | "devDependencies": { |
47 | | - "@babel/core": "^7.21.8", |
48 | | - "@babel/eslint-parser": "^7.21.8", |
49 | | - "@babel/plugin-transform-regenerator": "^7.21.5", |
50 | | - "@babel/preset-modules": "^0.1.5", |
51 | | - "@babel/preset-react": "^7.18.6", |
52 | | - "cross-env": "^7.0.2", |
53 | 17 | "cz-conventional-changelog": "3.2.0", |
54 | | - "esbuild": "^0.17.18", |
55 | 18 | "eslint": "^8.40.0", |
56 | 19 | "eslint-config-prettier": "^6.7.0", |
57 | 20 | "eslint-config-react-app": "^7.0.1", |
|
64 | 27 | "eslint-plugin-react": "^7.17.0", |
65 | 28 | "eslint-plugin-standard": "^4.0.1", |
66 | 29 | "gh-pages": "^2.2.0", |
67 | | - "microbundle-crl": "^0.13.10", |
68 | 30 | "netlify-cli": "^2.52.0", |
69 | | - "npm-run-all": "^4.1.5", |
70 | | - "prettier": "^2.0.4", |
71 | | - "react": "^18.2.0", |
72 | | - "react-dom": "^18.2.0", |
73 | | - "react-scripts": "^5.0.1" |
74 | | - }, |
75 | | - "files": [ |
76 | | - "dist" |
77 | | - ], |
78 | | - "dependencies": { |
79 | | - "react-google-recaptcha": "^2.1.0" |
| 31 | + "prettier": "^2.0.4" |
80 | 32 | }, |
81 | 33 | "config": { |
82 | 34 | "commitizen": { |
|
0 commit comments