-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
62 lines (62 loc) · 1.53 KB
/
package.json
File metadata and controls
62 lines (62 loc) · 1.53 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
{
"name": "react-portal-provider",
"version": "1.0.1",
"description": "A Portal component that can be used in all React projects.",
"main": "dist/lib/index.js",
"module": "dist/esm/index.js",
"types": "dist/lib/index.d.ts",
"files": [
"dist"
],
"keywords": [
"react",
"portal",
"createPortal",
"z-index",
"position",
"fixed"
],
"scripts": {
"test": "jest --coverage",
"lint": "eslint ./src --ext .ts",
"build": "yarn && run-p test clean lint && run-p build:cjs build:esm",
"build:cjs": "tsc --module commonjs --declaration --outDir ./dist/lib",
"build:esm": "tsc --module esnext --declaration --outDir ./dist/esm",
"release": "run-p build && yarn publish",
"clean": "rm -r dist/*"
},
"license": "ISC",
"devDependencies": {
"@testing-library/react": "^12.1.2",
"@testing-library/react-hooks": "7.0.2",
"@types/jest": "^26.0.24",
"@typescript-eslint/eslint-plugin": "^4.29.0",
"@typescript-eslint/parser": "^4.29.0",
"eslint": "^7.32.0",
"eslint-config-alloy": "^4.2.0",
"flush-promises": "1.0.2",
"husky": "4.3.8",
"jest": "^27.0.6",
"lint-staged": "9.4.3",
"npm-run-all": "^4.1.5",
"prettier": "^2.2.1",
"react-dom": "~17",
"react-test-renderer": "~17",
"ts-jest": "^27.0.4",
"typescript": "^4.6.4"
},
"lint-staged": {
"*.{ts}": [
"eslint --fix",
"prettier --write"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"dependencies": {
"react": "~17"
}
}