80 lines
2.3 KiB
JSON
80 lines
2.3 KiB
JSON
{
|
|
"name": "@excalidraw/excalidraw",
|
|
"version": "0.10.0",
|
|
"main": "main.js",
|
|
"types": "types/packages/excalidraw/index.d.ts",
|
|
"files": [
|
|
"dist/*",
|
|
"types/*"
|
|
],
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"description": "Excalidraw as a React component",
|
|
"repository": "https://github.com/excalidraw/excalidraw",
|
|
"license": "MIT",
|
|
"keywords": [
|
|
"excalidraw",
|
|
"excalidraw-embed",
|
|
"react",
|
|
"npm",
|
|
"npm excalidraw"
|
|
],
|
|
"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"
|
|
]
|
|
},
|
|
"peerDependencies": {
|
|
"react": "^17.0.2",
|
|
"react-dom": "^17.0.2"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "7.16.0",
|
|
"@babel/plugin-transform-arrow-functions": "7.16.0",
|
|
"@babel/plugin-transform-async-to-generator": "7.16.0",
|
|
"@babel/plugin-transform-runtime": "7.16.0",
|
|
"@babel/plugin-transform-typescript": "7.16.1",
|
|
"@babel/preset-env": "7.16.0",
|
|
"@babel/preset-react": "7.16.0",
|
|
"@babel/preset-typescript": "7.16.0",
|
|
"autoprefixer": "10.4.0",
|
|
"babel-loader": "8.2.3",
|
|
"babel-plugin-transform-class-properties": "6.24.1",
|
|
"cross-env": "7.0.3",
|
|
"css-loader": "6.5.0",
|
|
"file-loader": "6.2.0",
|
|
"mini-css-extract-plugin": "2.4.3",
|
|
"postcss-loader": "6.2.0",
|
|
"sass-loader": "12.3.0",
|
|
"terser-webpack-plugin": "5.2.4",
|
|
"ts-loader": "9.2.6",
|
|
"typescript": "4.4.4",
|
|
"webpack": "5.61.0",
|
|
"webpack-bundle-analyzer": "4.5.0",
|
|
"webpack-cli": "4.9.1"
|
|
},
|
|
"bugs": "https://github.com/excalidraw/excalidraw/issues",
|
|
"homepage": "https://github.com/excalidraw/excalidraw/tree/master/src/packages/excalidraw",
|
|
"scripts": {
|
|
"gen:types": "tsc --project ../../../tsconfig-types.json",
|
|
"build:umd": "cross-env NODE_ENV=production webpack --config webpack.prod.config.js && cross-env NODE_ENV=development webpack --config webpack.dev.config.js && yarn gen:types",
|
|
"build:umd:withAnalyzer": "cross-env NODE_ENV=production ANALYZER=true webpack --config webpack.prod.config.js",
|
|
"pack": "yarn build:umd && yarn pack"
|
|
}
|
|
}
|