62 lines
1.6 KiB
JSON
62 lines
1.6 KiB
JSON
{
|
|
"name": "@nand2tetris/components",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"description": "",
|
|
"author": "David Souther <davidsouther@gmail.com>",
|
|
"license": "ISC",
|
|
"homepage": "https://davidsouther.github.io/nand2tetris",
|
|
"type": "module",
|
|
"exports": {
|
|
"./*": "./build/*"
|
|
},
|
|
"typesVersions": {
|
|
"*": {
|
|
"*": [
|
|
"build/*"
|
|
]
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"@vscode/webview-ui-toolkit": "^1.4.0"
|
|
},
|
|
"devDependencies": {
|
|
"@davidsouther/jiffies": "^2.2.5",
|
|
"@monaco-editor/react": "^4.6.0",
|
|
"@nand2tetris/projects": "file:../projects",
|
|
"@nand2tetris/simulator": "file:../simulator",
|
|
"@testing-library/jest-dom": "^6.4.5",
|
|
"@testing-library/react": "^16.0.0",
|
|
"@types/error-cause": "^1.0.4",
|
|
"@types/jest": "^29.5.12",
|
|
"@types/node": "^20.14.2",
|
|
"@types/react": "^18.3.3",
|
|
"@types/react-dom": "^18.3.0",
|
|
"@types/vscode": "^1.89.0",
|
|
"@types/wicg-file-system-access": "^2023.10.5",
|
|
"immer": "^10.1.1",
|
|
"make-plural": "^7.4.0",
|
|
"react": "^18.3.1",
|
|
"react-dom": "^18.3.1",
|
|
"react-router-dom": "^6.23.1",
|
|
"react-scripts": "^5.0.1",
|
|
"rxjs": "^7.8.1",
|
|
"sass": "^1.77.4",
|
|
"source-map-explorer": "^2.5.3"
|
|
},
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"postbuild": "shx rm -rf build/public && shx cp -r src/public/ build/public/",
|
|
"test": "react-scripts test"
|
|
},
|
|
"jest": {
|
|
"moduleNameMapper": {
|
|
"^@nand2tetris/([^/]+)/(.*)": "<rootDir>/../node_modules/@nand2tetris/$1/build/$2",
|
|
"(.*)\\.js$": "$1"
|
|
},
|
|
"transformIgnorePatterns": [
|
|
"node_modules/(?!@davidsouther)"
|
|
]
|
|
}
|
|
}
|