-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
42 lines (42 loc) · 1.72 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
{
"name": "jam-notebook",
"version": "1.0.0",
"description": "Javascript code notebook in Figjam",
"scripts": {
"test": "npm run tsc && npm run build",
"production": "npm run tsc && npm run format && npm run build:prod",
"format": "prettier --write .",
"tsc": "npm run tsc:main && npm run tsc:ui",
"tsc:main": "tsc --noEmit -p widget-src",
"tsc:ui": "tsc --noEmit -p ui-src",
"tsc:watch": "concurrently -n widget,iframe \"npm run tsc:main -- --watch --preserveWatchOutput\" \"npm run tsc:ui -- --watch --preserveWatchOutput\"",
"build": "npm run build:ui && npm run build:main",
"build:prod": "npm run build:ui -- --minify esbuild && npm run build:main -- --minify",
"build:main": "esbuild widget-src/code.tsx --bundle --target=es6 --outfile=dist/code.js",
"build:ui": "vite build --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": "Bereket Abraham <[email protected]>",
"license": "MIT License",
"dependencies": {
"css-selector-parser": "^1.4.1",
"events": "^3.3.0",
"js-beautify": "^1.14.8",
"parse-es-import": "github:babraham123/parse-es-import#de79796aa697d196c4f3c5eb8a268457a7958a10"
},
"devDependencies": {
"@figma/plugin-typings": "*",
"@figma/widget-typings": "*",
"@types/events": "^3.0.0",
"@types/js-beautify": "^1.13.3",
"@types/node": "^16.17.1",
"concurrently": "^7.2.1",
"esbuild": "*",
"prettier": "^2.3.2",
"typescript": "*",
"vite": "^4.3.9",
"vite-plugin-node-polyfills": "^0.9.0",
"vite-plugin-singlefile": "^0.13.5"
}
}