-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
93 lines (93 loc) · 2.68 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
{
"name": "react-minisearch",
"version": "7.1.1",
"description": "React integration for MiniSearch",
"main": "dist/umd/react-minisearch.js",
"module": "dist/esm/react-minisearch.js",
"es2015": "dist/esm/react-minisearch.js",
"type": "module",
"exports": {
".": {
"require": "./dist/cjs/react-minisearch.cjs",
"import": "./dist/esm/react-minisearch.js",
"default": "./dist/esm/react-minisearch.js"
}
},
"types": "./dist/esm/react-minisearch.d.ts",
"repository": "https://github.com/lucaong/react-minisearch",
"author": "Luca Ongaro",
"license": "MIT",
"private": false,
"devDependencies": {
"@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-node-resolve": "^11.1.0",
"@rollup/plugin-typescript": "^8.1.0",
"@testing-library/jest-dom": "^5.11.4",
"@types/enzyme": "^3.10.3",
"@types/jest": "^26.0.12",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"@typescript-eslint/eslint-plugin": "^4.3.0",
"@typescript-eslint/parser": "^4.3.0",
"@wojtekmaj/enzyme-adapter-react-17": "^0.6.1",
"core-js": "^3.4.2",
"enzyme": "^3.10.0",
"enzyme-adapter-react-16": "^1.14.0",
"eslint": "^7.10.0",
"eslint-config-standard": "^14.1.1",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-react": "^7.21.3",
"eslint-plugin-react-hooks": "^4.1.2",
"eslint-plugin-standard": "^4.0.1",
"jest": "^26.4.2",
"jest-environment-enzyme": "^7.1.1",
"jest-enzyme": "^7.1.1",
"minisearch": "7.0.0",
"react": "^17.0.0",
"react-dom": "^17.0.0",
"rollup": "^2.26.9",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-dts": "^6.1.0",
"ts-jest": "^26.3.0",
"tslib": "^2.0.1",
"typescript": "^4.0.2"
},
"scripts": {
"build": "yarn build-typedef && NODE_ENV=production rollup -c",
"build-typedef": "tsc --declaration --emitDeclarationOnly",
"prepublishOnly": "yarn test",
"prepublish": "yarn build",
"test": "jest",
"test-watch": "jest --watch",
"lint": "eslint 'src/**/*.{js,ts,jsx,tsx}'",
"lintfix": "eslint --fix 'src/**/*.{js,ts,jsx,tsx}'"
},
"dependencies": {},
"peerDependencies": {
"minisearch": "^7.1.0",
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
},
"jest": {
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"transform": {
"\\.(ts|tsx)$": "ts-jest"
},
"testRegex": "\\.test\\.(ts|tsx|js)$",
"setupFilesAfterEnv": [
"jest-enzyme",
"<rootDir>src/testSetup/jest.ts"
],
"testEnvironment": "enzyme"
},
"files": [
"src/**/*",
"dist/**/*",
"README.md"
]
}