This repository has been archived by the owner on Dec 6, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
115 lines (115 loc) · 3.7 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
113
114
115
{
"name": "uno-react-draftjs",
"version": "1.1.0",
"description": "Rich text editor",
"main": "dist/index.js",
"scripts": {
"start": "webpack serve",
"build": "tsc",
"test": "jest --runInBand",
"cest": "jest --collectCoverage --runInBand",
"lint": "tsc --noEmit && eslint src/**/*.{ts,tsx} --quiet",
"lint:fix": "eslint */**/*.{ts,tsx} --quiet --fix",
"prettier": "prettier --check src/**/*.ts*",
"prettier:fix": "prettier --write src/**/*.ts*",
"lint:sample": "tsc --noEmit && eslint sample/**/*.{ts,tsx} --quiet",
"lint:sample:fix": "eslint sample/**/*.{ts,tsx} --quiet --fix",
"prettier:sample": "prettier --check sample/**/*.ts*",
"prettier:sample:fix": "prettier --write sample/**/*.ts*",
"codestyle:fix": "npm run lint:fix && npm run prettier:fix",
"codestyle:sample:fix": "npm run lint:sample:fix && npm run prettier:sample:fix",
"codestyle": "npm run codestyle:fix && npm run codestyle:sample:fix"
},
"repository": {
"type": "git",
"url": "git+https://github.com/unosquare/uno-react-draftjs"
},
"keywords": [
"sharepoint",
"webpart",
"oneonone"
],
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/unosquare/uno-react-draftjs/issues"
},
"homepage": "https://github.com/unosquare/uno-react-draftjs#readme",
"devDependencies": {
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^12.0.0",
"@testing-library/user-event": "^13.2.1",
"@types/draft-js": "^0.11.5",
"@types/jest": "^27.0.1",
"@types/react": "17.0.19",
"@types/react-dom": "17.0.9",
"@typescript-eslint/eslint-plugin": "^4.30.0",
"eslint": "^7.32.0",
"eslint-config-unosquare": "0.0.8",
"eslint-plugin-react": "^7.23.2",
"html-webpack-plugin": "^5.3.2",
"jest": "^27.1.0",
"prettier": "^2.3.2",
"react": "17.0.2",
"react-dom": "17.0.2",
"source-map-loader": "^3.0.0",
"ts-jest": "^27.0.5",
"ts-loader": "^9.2.5",
"typescript": "^4.4.2",
"webpack": "^5.51.2",
"webpack-cli": "^4.8.0",
"webpack-dev-server": "^4.1.0"
},
"peerDependencies": {
"react": "17.0.2",
"react-dom": "17.0.2"
},
"dependencies": {
"@fluentui/react": "^8.30.3",
"draft-js": "^0.11.7",
"markdown-draft-js": "^2.3.0",
"uno-react": "^1.0.22"
},
"jest": {
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"transform": {
"^.+\\.(ts|tsx)$": "ts-jest"
},
"testMatch": [
"**/src/**/*.test.+(ts|tsx|js)"
],
"coverageThreshold": {
"global": {
"branches": 50,
"functions": 50,
"lines": 80,
"statements": -230
}
},
"moduleNameMapper": {
"office-ui-fabric-react/lib/(.*)$": "office-ui-fabric-react/lib-commonjs/$1",
"@fluentui/react/lib/(.*)$": "@fluentui/react/lib-commonjs/$1",
"@uifabric/react-hooks/(.*)$": "@uifabric/react-hooks/lib-commonjs/$1",
"@uifabric/utilities/lib/(.*)$": "@uifabric/utilities/lib-commonjs/$1"
},
"automock": false
},
"prettier": {
"endOfLine": "auto",
"semi": true,
"trailingComma": "all",
"singleQuote": true,
"jsxSingleQuote": true,
"printWidth": 120,
"tabWidth": 4
},
"files": [
"dist/**/*",
"!dist/**/*.test.*",
"README.md"
]
}