tldraw/package.json
Francois Laberge a95b581e07
Prepare for Publishing VS Code Extension (#227)
* Changed Wardlt use back to Tldraw. Added some VS Code marketplace categories

* Missed removing one Wardlt mention

* Initial support for esbuild based vscode extension workflow.

* Hacky start of vs code extension build script

* Fixed categories of extension

* Added script for generating VS Code extension installer

* Temp fix for file format change affecting VS Code extension

* Temp fix for file format change issue

* Cleanup, prevent changes from saving pagestates

* Remove logic around saving pageState

* standardize capitalization

* v0.1.8

* Edit readme, scripts

* Update .eslintignore

* v0.1.9

* v0.1.10

* cleans up build scripts, adds publishing notes

* Added VS Code extension implementation references links. start:vscode now auto opens the extension folder in VS Code

* Removed step from VS Code README to manually open the extensions folder

* Removed file

* v0.1.11

* v0.1.12

* Fix empty file

* v0.1.13

* README cleanup

* v0.1.14

* Update TLDrawEditorProvider.ts

* v0.1.15

* Fix types for file extension (sort of) build script for extension

Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2021-11-10 15:35:51 +00:00

95 lines
No EOL
2.7 KiB
JSON

{
"name": "tldraw",
"private": true,
"description": "A tiny little drawing app.",
"author": "@steveruizok",
"repository": {
"type": "git",
"url": "git+https://github.com/tldraw/tldraw.git"
},
"license": "MIT",
"workspaces": [
"electron",
"vscode/editor",
"vscode/extension",
"packages/tldraw",
"example",
"www"
],
"scripts": {
"test": "jest",
"test:watch": "jest --watchAll",
"lerna": "lerna",
"start:electron": "lerna run start:electron --stream --parallel",
"start:vscode": "yarn build:packages && lerna run start:vscode --stream --parallel & code vscode/extension; ",
"build:vscode": "cd vscode/extension && yarn package",
"start": "lerna run start --stream --parallel",
"start:www": "yarn build:packages && lerna run start --parallel & cd www && yarn dev",
"build": "yarn build:packages && cd www && yarn build",
"build:packages": "cd packages/tldraw && yarn build",
"publish:patch": "yarn test && yarn build:packages && lerna publish patch",
"docs": "lerna run docs",
"docs:watch": "lerna run docs:watch",
"postinstall": "husky install",
"fix:style": "yarn run prettier ./packages/tldraw/src --write"
},
"devDependencies": {
"@swc-node/jest": "^1.3.3",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^12.0.0",
"@types/jest": "^27.0.2",
"@types/node": "^15.0.1",
"@types/react": "^17.0.33",
"@types/react-dom": "^17.0.10",
"@types/vscode": "^1.59.0",
"@typescript-eslint/eslint-plugin": "^4.19.0",
"@typescript-eslint/parser": "^4.19.0",
"eslint": "^7.32.0",
"fake-indexeddb": "^3.1.3",
"husky": "^7.0.4",
"init-package-json": "^2.0.4",
"jest": "^27.3.1",
"lerna": "^3.22.1",
"lint-staged": "^11.2.6",
"prettier": "^2.4.1",
"resize-observer-polyfill": "^1.5.1",
"tslib": "^2.3.0",
"typedoc": "^0.22.3",
"typescript": "^4.4.2"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "test && lint-staged"
}
},
"lint-staged": {
"*": "fix:style && eslint"
},
"jest": {
"setupFilesAfterEnv": [
"<rootDir>/setupTests.ts"
],
"transform": {
"^.+\\.(tsx|jsx|ts|js|mjs)?$": "@swc-node/jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"testEnvironment": "jsdom",
"modulePathIgnorePatterns": [
"<rootDir>/packages/tldraw/dist/",
"<rootDir>/packages/tldraw/test-utils/"
],
"moduleNameMapper": {
"@tldraw/tldraw": "<rootDir>/packages/tldraw/src",
"\\~(.*)": "<rootDir>/packages/tldraw/src/$1"
}
}
}