mirror of
https://github.com/penpot/penpot.git
synced 2025-01-09 08:20:45 -05:00
118 lines
4.2 KiB
JSON
118 lines
4.2 KiB
JSON
{
|
|
"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:storybook:cljs": "clojure -M:dev:shadow-cljs release storybook",
|
|
"build:renderer": "yarn run wasm-pack build ./renderer --target web --out-dir ../resources/public/js/renderer --release",
|
|
"e2e:server": "node ./scripts/e2e-server.js",
|
|
"e2e:test": "playwright test --project default",
|
|
"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",
|
|
"test": "yarn run test:compile && yarn run test:run",
|
|
"test:compile": "clojure -M:dev:shadow-cljs compile test --config-merge '{:autorun false}'",
|
|
"test:run": "node target/tests.cjs",
|
|
"test:watch": "clojure -M:dev:shadow-cljs watch test",
|
|
"translations": "node ./scripts/translations.js",
|
|
"watch": "yarn run watch:app:assets",
|
|
"watch:app:assets": "node ./scripts/watch.js",
|
|
"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.44.1",
|
|
"@storybook/addon-essentials": "^8.2.2",
|
|
"@storybook/addon-themes": "^8.2.2",
|
|
"@storybook/blocks": "^8.2.2",
|
|
"@storybook/react": "^8.2.2",
|
|
"@storybook/react-vite": "^8.2.2",
|
|
"@types/node": "^20.11.20",
|
|
"autoprefixer": "^10.4.19",
|
|
"concurrently": "^8.2.2",
|
|
"draft-js": "git+https://github.com/penpot/draft-js.git#commit=4a99b2a6020b2af97f6dc5fa1b4275ec16b559a0",
|
|
"express": "^4.19.2",
|
|
"fancy-log": "^2.0.0",
|
|
"getopts": "^2.3.0",
|
|
"gettext-parser": "^8.0.0",
|
|
"gulp": "4.0.2",
|
|
"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": "^24.1.0",
|
|
"map-stream": "0.0.7",
|
|
"marked": "^12.0.2",
|
|
"mkdirp": "^3.0.1",
|
|
"mustache": "^4.2.0",
|
|
"nodemon": "^3.1.2",
|
|
"npm-run-all": "^4.1.5",
|
|
"p-limit": "^5.0.0",
|
|
"postcss": "^8.4.38",
|
|
"postcss-clean": "^1.2.2",
|
|
"prettier": "3.3.2",
|
|
"pretty-time": "^1.1.0",
|
|
"prop-types": "^15.8.1",
|
|
"rimraf": "^5.0.7",
|
|
"sass": "^1.77.4",
|
|
"sass-embedded": "^1.77.2",
|
|
"shadow-cljs": "2.28.11",
|
|
"storybook": "^8.2.2",
|
|
"svg-sprite": "^2.0.4",
|
|
"typescript": "^5.4.5",
|
|
"vite": "^5.1.4",
|
|
"vitest": "^1.3.1",
|
|
"wasm-pack": "^0.13.0",
|
|
"watcher": "^2.3.1",
|
|
"workerpool": "^9.1.1"
|
|
},
|
|
"dependencies": {
|
|
"compression": "^1.7.4",
|
|
"date-fns": "^3.6.0",
|
|
"eventsource-parser": "^1.1.2",
|
|
"highlight.js": "^11.9.0",
|
|
"js-beautify": "^1.15.1",
|
|
"jszip": "^3.10.1",
|
|
"lodash": "^4.17.21",
|
|
"luxon": "^3.4.4",
|
|
"mousetrap": "^1.6.5",
|
|
"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.0.13",
|
|
"react-virtualized": "^9.22.5",
|
|
"rxjs": "8.0.0-alpha.14",
|
|
"sax": "^1.4.1",
|
|
"source-map-support": "^0.5.21",
|
|
"tdigest": "^0.1.2",
|
|
"ua-parser-js": "^1.0.38",
|
|
"xregexp": "^5.1.1"
|
|
}
|
|
}
|