mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-04-14 16:40:58 -04:00
* build: Welcome ESM and Bye Bye UMD * remove package * create unbundled esm build * update script for example * fix typo * dummy commit * update autorelease script to build esm * revert dummy commit * move react, react-dom and testing library to dev dependencies * remove entry.js, publicPath and yarn install:deps script * fix * upgrade esbuild to fix glob import error for locales * remove webpack chunk names as thats not needed anymore * marking the code sideeffects free * make the library tree-shakeable and move fonts to fonts directory * allow side effects for css, scss files * remove tree-shaking * comment code for tree shaking * move to vite for example * bye bye webpack * ignore ts * separate build and output dir * use esbuild for creating bundle for example * update output dir * lint * create browser dev build with source maps and prod with minification * add dev and prod builds for bundler * lint * update script * remove await * load prod build * create minified build in dist * prod and dev builds using export field * remove import.meta * dummy * define import.meta prod and dev * fix * export types * add types field * typo * lint * Update scripts/buildPackage.js * move types inside export * newline
40 lines
1.2 KiB
JSON
40 lines
1.2 KiB
JSON
{
|
|
"browserslist": {
|
|
"production": [
|
|
">0.2%",
|
|
"not dead",
|
|
"not ie <= 11",
|
|
"not op_mini all",
|
|
"not safari < 12",
|
|
"not kaios <= 2.5",
|
|
"not edge < 79",
|
|
"not chrome < 70",
|
|
"not and_uc < 13",
|
|
"not samsung < 10"
|
|
],
|
|
"development": [
|
|
"last 1 chrome version",
|
|
"last 1 firefox version",
|
|
"last 1 safari version"
|
|
]
|
|
},
|
|
"engines": {
|
|
"node": ">=18.0.0"
|
|
},
|
|
"dependencies": {},
|
|
"homepage": ".",
|
|
"name": "excalidraw-app",
|
|
"prettier": "@excalidraw/prettier-config",
|
|
"private": true,
|
|
"scripts": {
|
|
"build-node": "node ./scripts/build-node.js",
|
|
"build:app:docker": "cross-env VITE_APP_DISABLE_SENTRY=true VITE_APP_DISABLE_TRACKING=true vite build",
|
|
"build:app": "cross-env VITE_APP_GIT_SHA=$VERCEL_GIT_COMMIT_SHA vite build",
|
|
"build:version": "node ../scripts/build-version.js",
|
|
"build": "yarn build:app && yarn build:version",
|
|
"install:deps": "yarn install --frozen-lockfile && yarn --cwd ../",
|
|
"start": "yarn && vite",
|
|
"start:production": "npm run build && npx http-server build -a localhost -p 5001 -o",
|
|
"build:preview": "yarn build && vite preview --port 5000"
|
|
}
|
|
}
|