{ "name": "frontend", "version": "1.0.0", "license": "MPL-2.0", "author": "Kaleidos INC", "private": true, "packageManager": "yarn@4.3.1", "browserslist": [ "defaults" ], "type": "module", "repository": { "type": "git", "url": "https://github.com/penpot/penpot" }, "resolutions": { "@vitejs/plugin-react": "^4.2.0" }, "scripts": { "build:app:assets": "node ./scripts/build-app-assets.js", "build:storybook": "yarn run build:storybook:assets && yarn run build:storybook:cljs && storybook build", "build:storybook:assets": "node ./scripts/build-storybook-assets.js", "build:wasm": "../render-wasm/build", "build:storybook:cljs": "clojure -M:dev:shadow-cljs compile storybook", "build:app:libs": "node ./scripts/build-libs.js", "build:app:main": "clojure -M:dev:shadow-cljs release main worker", "build:app": "yarn run build:app:main && yarn run build:app:libs", "e2e:server": "node ./scripts/e2e-server.js", "fmt:clj": "cljfmt fix --parallel=true src/ test/", "fmt:clj:check": "cljfmt check --parallel=false src/ test/", "fmt:js": "yarn run prettier -c src/**/*.stories.jsx -c playwright/**/*.js -c scripts/**/*.js -w", "fmt:js:check": "yarn run prettier -c src/**/*.stories.jsx -c playwright/**/*.js -c scripts/**/*.js", "lint:clj": "clj-kondo --parallel --lint src/", "lint:scss": "yarn run prettier -c resources/styles -c src/**/*.scss", "lint:scss:fix": "yarn run prettier -c resources/styles -c src/**/*.scss -w", "build:test": "clojure -M:dev:shadow-cljs compile test", "test": "yarn run build:test && node target/tests/test.js", "watch:test": "mkdir -p target/tests && concurrently \"clojure -M:dev:shadow-cljs watch test\" \"nodemon -C -d 2 -w target/tests --exec 'node target/tests/test.js'\"", "test:e2e": "playwright test --project default", "translations": "node ./scripts/translations.js", "watch:app:assets": "node ./scripts/watch.js", "watch:app:libs": "node ./scripts/build-libs.js --watch", "watch:app:main": "clojure -M:dev:shadow-cljs watch main worker", "watch:app": "concurrently \"yarn run watch:app:main\" \"yarn run watch:app:libs\"", "watch": "yarn run watch:app:assets", "watch:storybook": "concurrently \"clojure -M:dev:shadow-cljs watch storybook\" \"storybook dev -p 6006 --no-open\" \"yarn run watch:storybook:assets\"", "watch:storybook:assets": "node ./scripts/watch-storybook.js" }, "devDependencies": { "@playwright/test": "1.48.1", "@storybook/addon-essentials": "^8.4.6", "@storybook/addon-interactions": "^8.4.6", "@storybook/addon-themes": "^8.4.6", "@storybook/blocks": "^8.4.6", "@storybook/react": "^8.4.6", "@storybook/react-vite": "^8.4.6", "@storybook/test": "^8.4.6", "@types/node": "^22.7.7", "autoprefixer": "^10.4.20", "concurrently": "^9.0.1", "esbuild": "^0.24.0", "express": "^4.21.1", "fancy-log": "^2.0.0", "getopts": "^2.3.0", "gettext-parser": "^8.0.0", "gulp-concat": "^2.6.1", "gulp-gzip": "^1.4.2", "gulp-mustache": "^5.0.0", "gulp-postcss": "^10.0.0", "gulp-rename": "^2.0.0", "gulp-sass": "^5.1.0", "gulp-sourcemaps": "^3.0.0", "gulp-svg-sprite": "^2.0.3", "jsdom": "^25.0.1", "map-stream": "0.0.7", "marked": "^14.1.3", "mkdirp": "^3.0.1", "mustache": "^4.2.0", "nodemon": "^3.1.7", "npm-run-all": "^4.1.5", "p-limit": "^6.1.0", "postcss": "^8.4.47", "postcss-clean": "^1.2.2", "prettier": "3.3.3", "pretty-time": "^1.1.0", "prop-types": "^15.8.1", "rimraf": "^6.0.1", "sass": "^1.80.3", "sass-embedded": "^1.80.3", "shadow-cljs": "2.28.18", "storybook": "^8.4.6", "svg-sprite": "^2.0.4", "typescript": "^5.6.3", "vite": "^5.4.9", "vitest": "^2.1.3", "wasm-pack": "^0.13.0", "watcher": "^2.3.1", "workerpool": "^9.2.0" }, "dependencies": { "@penpot/draft-js": "portal:./vendor/draft-js", "@penpot/hljs": "portal:./vendor/hljs", "@penpot/mousetrap": "portal:./vendor/mousetrap", "@penpot/svgo": "penpot/svgo#c6fba7a4dcfbc27b643e7fc0c94fc98cf680b77b", "@penpot/text-editor": "portal:./text-editor", "@tokens-studio/sd-transforms": "^0.16.1", "compression": "^1.7.4", "date-fns": "^4.1.0", "eventsource-parser": "^3.0.0", "js-beautify": "^1.15.1", "jszip": "^3.10.1", "lodash": "^4.17.21", "lodash.debounce": "^4.0.8", "luxon": "^3.5.0", "opentype.js": "^1.3.4", "postcss-modules": "^6.0.0", "randomcolor": "^0.6.2", "react": "18.3.1", "react-dom": "18.3.1", "react-error-boundary": "^4.1.2", "react-virtualized": "^9.22.5", "rxjs": "8.0.0-alpha.14", "sax": "^1.4.1", "source-map-support": "^0.5.21", "style-dictionary": "4.0.0-prerelease.34", "tdigest": "^0.1.2", "tinycolor2": "npm:^1.6.0", "ua-parser-js": "2.0.0-rc.1", "xregexp": "^5.1.1" } }