generated from origami-z/figma-react-vite-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
57 lines (57 loc) · 2.11 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
{
"name": "figma-salt-vite-template",
"version": "1.0.0",
"description": "Figma Salt Vite template",
"scripts": {
"test": "jest",
"prettier": "prettier --write . --ignore-path .gitignore",
"prettier:ci": "prettier --check . --ignore-path .gitignore",
"tsc": "npm run tsc:main && npm run tsc:ui && npm run tsc:tests",
"tsc:main": "tsc --noEmit -p plugin-src",
"tsc:ui": "tsc --noEmit -p ui-src",
"tsc:tests": "tsc --noEmit -p plugin-src/__tests__",
"tsc:watch": "concurrently -n widget,iframe,tests \"npm run tsc:main -- --watch --preserveWatchOutput\" \"npm run tsc:ui -- --watch --preserveWatchOutput\" \"npm run tsc:tests -- --watch --preserveWatchOutput\"",
"build": "npm run build:ui && npm run build:main -- --minify",
"build:main": "esbuild plugin-src/code.ts --bundle --outfile=dist/code.js --target=es6",
"build:ui": "npx vite build --minify esbuild --emptyOutDir=false",
"build:watch": "concurrently -n widget,iframe \"npm run build:main -- --watch\" \"npm run build:ui -- --watch\"",
"dev": "concurrently -n tsc,build,vite 'npm:tsc:watch' 'npm:build:watch' 'vite'"
},
"author": "author",
"license": "MIT",
"dependencies": {
"@salt-ds/core": "latest",
"@salt-ds/icons": "latest",
"@salt-ds/lab": "latest",
"@salt-ds/theme": "latest",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@figma/plugin-typings": "^1.58.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^14.4.3",
"@types/jest": "^29.2.0",
"@types/react": "^18.0.15",
"@types/react-dom": "^18.0.6",
"@types/react-window": "^1.8.2",
"@vitejs/plugin-react-swc": "^3.0.1",
"concurrently": "^6.3.0",
"esbuild": "^0.16.17",
"identity-obj-proxy": "^3.0.0",
"jest": "^29.2.2",
"jest-environment-jsdom": "^29.2.2",
"prettier": "^2.8.3",
"ts-jest": "^29.0.3",
"typescript": "^4.9.4",
"vite": "^4.0.4",
"vite-plugin-singlefile": "^0.13.2"
},
"jest": {
"projects": [
"plugin-src/jest.config.js",
"ui-src/jest.config.js"
]
}
}