mirror of
https://github.com/excalidraw/svg-to-excalidraw.git
synced 2026-05-17 13:30:43 +00:00
68 lines
2.2 KiB
JSON
68 lines
2.2 KiB
JSON
{
|
||
"name": "svg-to-excalidraw",
|
||
"version": "0.0.2",
|
||
"description": "Convert SVG to Excalidraw’s file format",
|
||
"main": "dist/bundle.js",
|
||
"files": [
|
||
"dist/bundle.js",
|
||
"svg-to-excalidraw.d.ts"
|
||
],
|
||
"types": "svg-to-excalidraw.d.ts",
|
||
"scripts": {
|
||
"build": "yarn clean && webpack --config webpack.config.js",
|
||
"build:watch": "yarn clean && webpack --config webpack.config.js --watch",
|
||
"clean": "rimraf dist",
|
||
"fix": "yarn fix:other && yarn fix:code",
|
||
"fix:code": "yarn test:code -- --fix",
|
||
"fix:other": "yarn prettier -- --write",
|
||
"lint:check": "eslint .",
|
||
"lint:write": "eslint . --fix",
|
||
"prettier": "prettier \"**/*.{css,scss,json,md,html,yml}\" --ignore-path=.eslintignore",
|
||
"test": "yarn test:typecheck && yarn test:code && yarn test:other",
|
||
"test:code": "eslint --max-warnings=0 --ignore-path .gitignore --ext .js,.ts,.tsx .",
|
||
"test:other": "yarn prettier -- --list-different",
|
||
"test:typecheck": "tsc"
|
||
},
|
||
"prettier": "@excalidraw/prettier-config",
|
||
"contributors": [
|
||
"Nicolas Goudry <goudry.nicolas@gmail.com>",
|
||
"Broch Stilley <brochington@gmail.com>"
|
||
],
|
||
"license": "MIT",
|
||
"devDependencies": {
|
||
"@babel/core": "7.15.5",
|
||
"@babel/plugin-proposal-class-properties": "7.14.5",
|
||
"@babel/plugin-proposal-object-rest-spread": "7.14.7",
|
||
"@babel/plugin-syntax-dynamic-import": "7.8.3",
|
||
"@babel/preset-env": "7.15.4",
|
||
"@babel/preset-typescript": "7.15.0",
|
||
"@excalidraw/eslint-config": "1.0.1",
|
||
"@excalidraw/prettier-config": "1.0.2",
|
||
"@types/chroma-js": "^2.1.3",
|
||
"@typescript-eslint/eslint-plugin": "4.31.0",
|
||
"@typescript-eslint/parser": "4.31.0",
|
||
"babel-loader": "^8.2.2",
|
||
"eslint": "7.32.0",
|
||
"eslint-config-prettier": "8.3.0",
|
||
"eslint-plugin-prettier": "4.0.0",
|
||
"lint-staged": "11.1.2",
|
||
"prettier": "2.3.2",
|
||
"typescript": "4.4.2",
|
||
"webpack": "5.52.0",
|
||
"webpack-cli": "4.8.0"
|
||
},
|
||
"lint-staged": {
|
||
"*.js": "eslint --cache --fix",
|
||
"*.{js,css,md}": "prettier --write"
|
||
},
|
||
"dependencies": {
|
||
"chroma-js": "^2.1.2",
|
||
"gl-matrix": "^3.3.0",
|
||
"nanoid": "^3.1.25",
|
||
"path-data-parser": "^0.1.0",
|
||
"points-on-curve": "^0.2.0",
|
||
"points-on-path": "^0.2.1",
|
||
"roughjs": "^4.4.1"
|
||
}
|
||
}
|