-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
69 lines (69 loc) · 2.13 KB
/
package.json
File metadata and controls
69 lines (69 loc) · 2.13 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
{
"name": "react-scoped-provider",
"version": "1.3.3",
"description": "Library for DI in react without the need of self-creating context everytime.",
"type": "module",
"source": "src/index.ts",
"exports": {
"types": "./dist/index.d.ts",
"require": "./dist/index.cjs",
"default": "./dist/index.modern.js"
},
"main": "./dist/index.js",
"module": "./dist/index.module.js",
"unpkg": "./dist/index.umd.js",
"types": "./dist/index.d.ts",
"files": [
"dist",
"LICENSE",
"CHANGELOG.md",
"README.md"
],
"scripts": {
"lint": "eslint \"{**/*,*}.{js,ts,jsx,tsx}\"",
"prettier": "prettier --write \"{src,tests,example/src}/**/*.{js,ts,jsx,tsx}\"",
"test": "jest --coverage",
"build": "microbundle --tsconfig tsconfig.build.json --jsx React.createElement --jsxFragment React.Fragment --jsxImportSource react",
"dev": "microbundle watch --tsconfig tsconfig.build.json --jsx React.createElement --jsxFragment React.Fragment --jsxImportSource react",
"prepare": "yarn run build",
"prepublishOnly": "yarn test && yarn run prettier && yarn run lint"
},
"keywords": [
"di",
"context",
"provider"
],
"author": "silent_cat",
"license": "MIT",
"peerDependencies": {
"react": ">=16"
},
"devDependencies": {
"@babel/preset-react": "^7.23.3",
"@babel/preset-typescript": "^7.23.3",
"@testing-library/jest-dom": "^6.1.5",
"@testing-library/react": "^14.1.2",
"@types/jest": "^29.5.10",
"@types/react": "^18.2.40",
"@typescript-eslint/eslint-plugin": "^6.13.1",
"@typescript-eslint/parser": "^6.13.1",
"eslint": "^8.55.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"jest": "^29.7.0",
"jest-canvas-mock": "^2.5.2",
"jest-environment-jsdom": "^29.7.0",
"microbundle": "^0.15.1",
"prettier": "^3.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"ts-jest": "^29.1.1",
"typescript": "^5.3.2"
},
"repository": {
"type": "git",
"url": "git+https://github.com/SilentCatD/react-scoped-provider"
}
}