Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
124 lines (124 loc) · 3.94 KB
/
Copy pathpackage.json
File metadata and controls
124 lines (124 loc) · 3.94 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
{
"name": "reacto-form-inputs",
"version": "0.0.0-development",
"description": "Example React components that implement the Composable Form Specification for form inputs",
"homepage": "https://github.com/longshotlabs/reacto-form-inputs",
"bugs": {
"url": "https://github.com/longshotlabs/reacto-form-inputs/issues"
},
"license": "MIT",
"author": "Dairy State Designs (http://dairystatedesigns.com/)",
"repository": {
"type": "git",
"url": "https://github.com/longshotlabs/reacto-form-inputs.git"
},
"files": [
"CHANGELOG.md",
"dist",
"LICENSE",
"README.md"
],
"type": "module",
"sideEffects": false,
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/esm/index.d.ts",
"exports": {
".": {
"types": "./dist/esm/index.d.ts",
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
},
"./cjs/*": {
"types": "./dist/esm/*.d.ts",
"default": "./dist/cjs/*.js"
},
"./esm/*": {
"types": "./dist/esm/*.d.ts",
"default": "./dist/esm/*.js"
},
"./*": {
"types": "./dist/esm/*.d.ts",
"import": "./dist/esm/*.js",
"require": "./dist/cjs/*.js"
}
},
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "rm -fr dist/* && tsc -p tsconfig-build.json && esbuild src/*.ts src/*.tsx src/shared/*.ts --outbase=src --outdir=dist/esm --format=esm --platform=browser --target=es2022 && esbuild src/*.ts src/*.tsx src/shared/*.ts --outbase=src --outdir=dist/cjs --format=cjs --platform=browser --target=es2015 && ./scripts/post-build.sh",
"check": "tsc --noEmit",
"lint": "oxlint . && oxfmt --check .",
"lint:fix": "oxlint --fix . && oxfmt --write .",
"prepublishOnly": "npm run lint && npm test && npm run build",
"test": "jest",
"test:watch": "jest --watch"
},
"dependencies": {
"prop-types": "^15.8.1"
},
"devDependencies": {
"@types/prop-types": "^15.7.15",
"@types/react": "^16.14.70",
"composable-form-tests": "^1.0.1",
"core-js": "^3.45.1",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.8",
"esbuild": "^0.28.2",
"jest": "^30.4.2",
"jest-environment-jsdom": "^30.4.1",
"moment-timezone": "^0.6.0",
"oxfmt": "^0.72.0",
"oxlint": "^1.78.0",
"raf": "^3.4.1",
"react": "^16.14.0",
"react-dom": "^16.14.0",
"react-test-renderer": "^16.14.0",
"semantic-release": "^25.0.9",
"typescript": "^7.0.2"
},
"peerDependencies": {
"react": ">=16"
},
"browserslist": "> 0.5%, last 2 versions, Firefox ESR, not dead",
"release": {
"branches": [
"main"
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/npm",
[
"@semantic-release/github",
{
"successComment": ":tada: This ${issue.pull_request ? 'PR is included' : 'issue has been resolved'} in version ${nextRelease.version} :tada:\n\nThe release is available on:\n- [npm package (@latest dist-tag)](https://www.npmjs.com/package/reacto-form-inputs/v/${nextRelease.version})\n- [GitHub release](https://github.com/longshotlabs/reacto-form-inputs/releases/tag/${nextRelease.version})\n\nIf this makes you happy, please consider [becoming a sponsor](https://github.com/sponsors/longshotlabs).\n\nYour **[semantic-release](https://github.com/semantic-release/semantic-release)** bot :package::rocket:"
}
]
],
"tagFormat": "${version}"
},
"jest": {
"moduleNameMapper": {
"^(\\.{1,2}/.*)\\.js$": "$1"
},
"setupFiles": [
"raf/polyfill",
"<rootDir>/jestSetup.cjs"
],
"testEnvironment": "jsdom",
"transform": {
"^.+\\.[tj]sx?$": "<rootDir>/scripts/jest-transform.cjs"
}
},
"engines": {
"node": ">=20.19"
},
"allowScripts": {
"@parcel/watcher@2.6.0": true,
"core-js@3.50.0": true,
"esbuild@0.28.2": true,
"unrs-resolver@1.12.2": true
}
}