-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
74 lines (74 loc) · 2.12 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
{
"name": "textarea-markdown-editor",
"version": "1.0.5-rc.3",
"description": "UI headless React markdown editor using only textarea",
"homepage": "https://github.com/Resetand/markdown-textarea",
"author": "Resetand",
"license": "MIT",
"keywords": [
"react",
"textarea",
"markdown",
"editor",
"formatting",
"shortcuts"
],
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "dist/esm/index.d.ts",
"files": [
"dist"
],
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || || ^18.0.0",
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
},
"dependencies": {
"mousetrap": "^1.6.5"
},
"devDependencies": {
"@testing-library/jest-dom": "5.16.5",
"@testing-library/react": "13.4.0",
"@testing-library/user-event": "14.4.3",
"@types/common-tags": "1.8.1",
"@types/jest": "29.2.1",
"@types/mousetrap": "1.6.10",
"@types/node": "18.11.9",
"@types/react": "18.0.24",
"@types/react-dom": "18.0.8",
"@typescript-eslint/eslint-plugin": "5.42.0",
"@typescript-eslint/parser": "5.42.0",
"common-tags": "1.8.2",
"eslint": "8.26.0",
"eslint-config-prettier": "8.5.0",
"eslint-config-react-app": "7.0.1",
"husky": "8.0.1",
"jest": "29.2.2",
"jest-environment-jsdom": "29.2.2",
"lint-staged": "13.0.3",
"npm-watch": "0.11.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"ts-jest": "29.0.3",
"typescript": "4.8.4"
},
"scripts": {
"lint": "eslint --max-warnings=0 --ext=ts,tsx . --fix ",
"build": "npm run build:esm && npm run build:cjs",
"build:esm": "tsc",
"build:cjs": "tsc --module commonjs --outDir dist/cjs",
"test": "./node_modules/.bin/jest --colors",
"test:coverage": "npm run test -- --coverage",
"prepublish": "npm run lint && npm run test -- --watchAll=false && npm run build",
"start-sandbox": "npm run build; npm --prefix sandbox i -f; npm link sandbox/node_modules/react; npm --prefix sandbox run start",
"prepare": "husky install"
},
"watch": {
"build": {
"patterns": [
"src"
],
"extensions": "ts,tsx,js,jsx"
}
}
}