-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
112 lines (112 loc) · 3.31 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
{
"name": "@citizensadvice/react-combo-boxes",
"version": "3.0.2",
"description": "A combo box implementations in React",
"license": "ISC",
"author": "Daniel Lewis",
"main": "dist/src/index.js",
"source": "src/index.js",
"exports": {
".": "./dist/src/index.js",
"./helpers": "./dist/src/helpers/index.js",
"./layout_popover": "./dist/src/layout/layout_popover.js",
"./spec-helpers": "./dist/src/spec_helpers/index.js"
},
"files": [
"dist/**/*",
"styles/**/*"
],
"scripts": {
"build:js": "rm -rf dist && swc ./src -d dist",
"prebuild": "rm -rf .gh-pages",
"cache:clear": "rm -rf .parcel-cache",
"build": "parcel build ./examples/index.pug",
"start": "npm run cache:clear && parcel ./examples/index.pug",
"format": "prettier . --write",
"lint:format": "prettier . --check",
"lint:js": "eslint . --max-warnings=0",
"lint:scss": "stylelint \"**/*.scss\" --max-warnings=0",
"lint": "npm run lint:format && npm run lint:js && npm run lint:scss",
"test": "jest",
"predeploy": "npm run lint",
"deploy": "npm run build -- --public-url \"/react-combo-boxes/\" --no-cache && gh-pages -d .gh-pages",
"preversion": "npm run lint",
"prepublishOnly": "npm run build:js",
"postpublish": "npm run deploy",
"release": "npx np --any-branch"
},
"devDependencies": {
"@eslint-community/eslint-plugin-eslint-comments": "^4.4.1",
"@eslint/compat": "^1.2.2",
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.14.0",
"@parcel/resolver-glob": "^2.12.0",
"@parcel/transformer-pug": "^2.12.0",
"@parcel/transformer-sass": "^2.12.0",
"@swc/cli": "^0.6.0",
"@swc/jest": "^0.2.37",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"autoprefixer": "^10.4.19",
"eslint": "^9.14.0",
"eslint-config-prettier": "^10.0.1",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jest": "^28.9.0",
"eslint-plugin-jest-dom": "^5.4.0",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-react-hooks": "^5.0.0",
"eslint-plugin-testing-library": "^7.0.0",
"gh-pages": "^6.2.0",
"globals": "^16.0.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"marked": "^15.0.2",
"marked-highlight": "^2.2.0",
"node-emoji": "^2.1.3",
"normalize.css": "^8.0.1",
"parcel": "^2.12.0",
"postcss": "^8.4.44",
"prettier": "^3.3.2",
"prismjs": "^1.29.0",
"process": "^0.11.10",
"prop-types": "^15.7.2",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"stylelint": "^16.10.0",
"stylelint-config-standard": "^37.0.0",
"stylelint-config-standard-scss": "^14.0.0",
"stylelint-scss": "^6.8.1"
},
"peerDependencies": {
"@floating-ui/react": ">= 0.26.27",
"@testing-library/user-event": ">= 4.0.0",
"prop-types": ">= 15",
"react": ">= 16.8"
},
"peerDependenciesMeta": {
"@floating-ui/react": {
"optional": true
},
"@testing-library/user-event": {
"optional": true
}
},
"dependencies": {
"shallow-equal": "^3.1.0"
},
"sideEffects": false,
"prettier": {
"singleAttributePerLine": true,
"singleQuote": true
},
"targets": {
"main": false,
"default": {
"distDir": ".gh-pages"
}
},
"np": {
"yarn": false
}
}