-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
56 lines (56 loc) · 1.58 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
{
"name": "figma-hooks",
"version": "1.0.1",
"author": "Alexander Zizzo <[email protected]>",
"description": "React Hooks for use within Figma Plugins",
"keywords": [
"figma-hooks",
"figma"
],
"license": "ISC",
"repository": {
"type": "git",
"url": "git+https://github.com/elzii/figma-hooks.git"
},
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/esm/index.d.ts",
"files": [
"dist",
"LICENSE",
"README.md"
],
"scripts": {
"build": "yarn build:esm && yarn build:cjs",
"build:esm": "tsc",
"build:cjs": "tsc --module commonjs --outDir dist/cjs",
"lint": "eslint \"{**/*,*}.{js,ts,jsx,tsx}\"",
"prettier": "prettier --write \"{src,tests,example/src}/**/*.{js,ts,jsx,tsx}\"",
"test": "jest --config jestconfig.json",
"prepare": "npm run build",
"prepublishOnly": "npm test && npm run prettier && npm run lint"
},
"devDependencies": {
"@testing-library/react": "^13.4.0",
"@types/jest": "^29.2.2",
"@types/node": "^18.11.9",
"@types/react": "^18.0.25",
"@typescript-eslint/eslint-plugin": "^5.42.1",
"@typescript-eslint/parser": "^5.42.1",
"eslint": "^8.27.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.31.10",
"eslint-plugin-react-hooks": "^4.6.0",
"jest": "^29.3.0",
"jest-canvas-mock": "^2.4.0",
"jest-environment-jsdom": "^29.3.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"ts-jest": "^29.0.3",
"tslib": "^2.4.1",
"typescript": "^4.8.4"
},
"peerDependencies": {
"react": ">=16"
}
}