-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpackage.json
116 lines (116 loc) · 3.19 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
{
"name": "react-figma-ui",
"version": "2.0.0",
"description": "React implementation for figma-plugin-ds",
"author": "Jakub Biesiada",
"license": "MIT",
"main": "lib/react-figma-ui.cjs.js",
"module": "lib/react-figma-ui.esm.js",
"types": "lib/index.d.ts",
"scripts": {
"prepack": "yarn prettier && yarn lint && yarn build",
"clean": "rimraf lib/*",
"build": "rollup -c",
"prebuild": "yarn clean",
"test": "jest --coverage",
"watch": "yarn build -- --watch",
"watch:test": "yarn test -- --watch",
"lint": "eslint 'src/**/*.{tsx,ts}' --fix",
"prettier": "prettier --write 'src/**/*.{tsx,ts}'",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook",
"deploy-storybook": "storybook-to-ghpages",
"commit": "git-cz",
"semantic-release": "semantic-release",
"prepare": "husky install",
"pre-commit": "lint-staged"
},
"repository": {
"type": "git",
"url": "https://github.com/JB1905/react-figma-ui.git"
},
"keywords": [
"react",
"components",
"design",
"library",
"ui",
"patterns",
"system",
"figma"
],
"bugs": {
"url": "https://github.com/JB1905/react-figma-ui/issues"
},
"homepage": "https://github.com/JB1905/react-figma-ui#readme",
"dependencies": {
"clsx": "^1.2.1",
"figma-plugin-ds": "^1.0.1"
},
"devDependencies": {
"@rollup/plugin-node-resolve": "^13.3.0",
"@storybook/addon-backgrounds": "^6.5.16",
"@storybook/addon-controls": "^6.5.16",
"@storybook/addon-docs": "^6.5.16",
"@storybook/addon-storysource": "^6.5.16",
"@storybook/addons": "^6.5.16",
"@storybook/react": "^6.5.16",
"@storybook/storybook-deployer": "^2.8.16",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^12.1.5",
"@types/react": "^17.0.38",
"@typescript-eslint/parser": "^5.54.1",
"babel-loader": "^8.2.5",
"cz-conventional-changelog": "^3.3.0",
"eslint": "8.35.0",
"eslint-config-prettier": "^8.7.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"husky": "^8.0.3",
"jest": "^28.1.1",
"jest-environment-jsdom": "^28.1.1",
"lint-staged": "^13.1.2",
"prettier": "^2.8.4",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"rollup": "^2.75.6",
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.32.1",
"semantic-release": "^19.0.3",
"ts-jest": "^28.0.5",
"typescript": "^4.9.5"
},
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"jest": {
"testEnvironment": "jsdom",
"testPathIgnorePatterns": [
"<rootDir>/node_modules/"
],
"setupFilesAfterEnv": [
"<rootDir>/setupTests.ts"
],
"moduleNameMapper": {
"figma-plugin-ds": "<rootDir>/__mocks__/figmaPluginMock.ts",
"\\.(css)$": "<rootDir>/__mocks__/styleMock.ts"
},
"transform": {
"^.+\\.tsx?$": "ts-jest"
}
},
"lint-staged": {
"src/**/*.{tsx,ts}": [
"yarn prettier",
"yarn lint"
]
}
}