-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
116 lines (116 loc) · 2.63 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
116
{
"private": false,
"name": "react-visual-components",
"author": "iamwjun",
"homepage": "https://iamwjun.github.io/",
"version": "0.1.1",
"keywords": [
"component",
"components",
"frontend",
"react",
"react-component",
"react-visual",
"contextmenu",
"ruler"
],
"bugs": {
"url": "https://github.com/iamwjun/react-visual-components/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/iamwjun/react-visual-components"
},
"scripts": {
"watch": "parcel watch",
"build": "parcel build --no-source-maps",
"publish": "npm run publish",
"prettier": "prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"",
"test": "jest",
"test:coverage": "jest --coverage"
},
"source": "src/index.ts",
"main": "dist/main.js",
"module": "dist/module.js",
"types": "dist/types.d.ts",
"type": "module",
"typings": "dist/types.d.ts",
"gitHooks": {
"pre-commit": "lint-staged"
},
"files": [
"dist",
"example.png"
],
"lint-staged": {
"*.{js,jsx,less,md,json}": [
"prettier --write"
],
"*.ts?(x)": [
"prettier --parser=typescript --write"
]
},
"dependencies": {
"react": "^16.12.0 || ^17.0.0 || ^18.0.0"
},
"devDependencies": {
"@parcel/compressor-brotli": "^2.8.3",
"@parcel/compressor-gzip": "^2.8.3",
"@parcel/packager-ts": "2.8.3",
"@parcel/transformer-less": "2.8.3",
"@parcel/transformer-typescript-types": "2.8.3",
"@testing-library/react": "^14.0.0",
"@types/jest": "^29.4.0",
"jest": "^29.4.3",
"jest-canvas-mock": "^2.4.0",
"jest-environment-jsdom": "^29.4.3",
"lightningcss": "^1.22.0",
"lint-staged": "^13.1.2",
"parcel": "^2.8.3",
"parcel-reporter-clean-dist": "^1.0.4",
"parcel-resolver-typescript-esm": "^1.0.1",
"prettier": "^2.8.4",
"react-dom": "^18.2.0",
"ts-jest": "^29.0.5",
"typescript": "^4.9.5",
"yorkie": "^2.0.0"
},
"publishConfig": {
"registry": "https://registry.npmjs.org"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "jsdom",
"setupFiles": [
"jest-canvas-mock"
],
"coveragePathIgnorePatterns": [
"<rootDir>/node_modules",
"__test__"
],
"moduleFileExtensions": [
"js",
"tsx"
],
"modulePaths": [
"src"
],
"moduleDirectories": [
"node_modules"
]
},
"css": "dist/main.css",
"targets": {
"main": {
"includeNodeModules": {
"react": false
},
"optimize": true,
"isLibrary": true,
"outputFormat": "esmodule"
},
"css": {
"source": "src/Contextmenu/index.less"
}
}
}