apple2js/package.json

81 lines
2.4 KiB
JSON
Raw Normal View History

{
"name": "apple2js",
"version": "0.0.1",
"description": "Apple II Emulator in JavaScript",
"scripts": {
"build": "rimraf dist/* && webpack --mode=production",
2021-03-26 18:42:30 +00:00
"dev": "webpack serve --mode=development",
2020-06-18 09:34:31 +00:00
"index": "bin/index > json/disks/index.js",
2023-02-01 01:49:07 +00:00
"lint": "eslint '**/*.js' '**/*.ts' '**/*.tsx' && stylelint '**/*.scss'",
"start": "webpack serve --mode=development --progress",
2019-03-27 04:02:27 +00:00
"test": "jest"
},
2019-09-07 18:18:42 +00:00
"engines": {
"node": ">= 16"
2019-09-07 18:18:42 +00:00
},
"repository": {
"type": "git",
"url": "git+https://github.com/whscullin/apple2js.git"
},
"author": "Will Scullin",
"license": "MIT",
"bugs": {
"url": "https://github.com/whscullin/apple2js/issues"
},
"homepage": "https://github.com/whscullin/apple2js#readme",
2019-03-01 05:21:18 +00:00
"devDependencies": {
2020-03-22 23:35:27 +00:00
"@babel/core": "^7.9.0",
"@babel/plugin-transform-react-jsx": "^7.17.3",
2020-03-22 23:35:27 +00:00
"@babel/preset-env": "^7.9.0",
"@babel/preset-typescript": "^7.16.7",
"@testing-library/dom": "^7.30.3",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/preact": "^3.0.1",
"@testing-library/user-event": "^13.1.3",
Fix issue #187 (and upgrade jest) (#188) * Update jest to v29.5.0 This updates jest to the latest version (29.5.0) and fixes everything that the upgrade breaks. One of the biggest differences is that the mock types changed and I'm once again confused as to the "proper" way to create mocks in jest. Whatever. * Fix issue #187 were bank writing was not working correctly Before, `mmu.ts` would deactivate writing to the language card if `prewrite` was reset. However, it is totally possible to reset `prewrite` and leave writing enabled, as shown my Sather in _Understanding the Apple IIe_, table 5.5, p. 5-24. For example: ```assembly_x86 sta $c08a ; WRITE DISABLE; READ DISABLE lda $c08b ; PRE-WRITE set lda $c08b ; WRITE enabled sta $c08a ; PRE-WRITE reset; WRITE still enabled! lda $c08b ; PRE-WRITE set; WRITE still enabled! ``` would not work correctly because the last line would clear `_writebsr` before setting `_prewrite`, which is incorrect. Now, `_writebsr` is only set when `_prewrite` is set and thus only cleared when `writeSwitch` is false. This matches Table 5.5. * Fix pre-write for the language card This is the same issue as the `MMU`, namely that `langcard.ts` would deactivate writing to the language card if `prewrite` was reset. However, it is totally possible to reset `prewrite` and leave writing enabled, as shown my Sather in _Understanding the Apple II_, table 5.4, p. 5-30. See the previous commit for an example. This change also adds a test for the `LanguageCard` class.
2023-07-08 18:18:38 +00:00
"@types/jest": "^29.5.2",
2021-10-02 14:21:37 +00:00
"@types/jest-image-snapshot": "^4.3.1",
"@types/micromodal": "^0.3.2",
"@types/wicg-file-system-access": "^2020.9.6",
2022-06-04 18:34:17 +00:00
"@typescript-eslint/eslint-plugin": "^5.27.0",
"@typescript-eslint/parser": "^5.27.0",
2020-03-22 23:35:27 +00:00
"ajv": "^6.12.0",
Fix issue #187 (and upgrade jest) (#188) * Update jest to v29.5.0 This updates jest to the latest version (29.5.0) and fixes everything that the upgrade breaks. One of the biggest differences is that the mock types changed and I'm once again confused as to the "proper" way to create mocks in jest. Whatever. * Fix issue #187 were bank writing was not working correctly Before, `mmu.ts` would deactivate writing to the language card if `prewrite` was reset. However, it is totally possible to reset `prewrite` and leave writing enabled, as shown my Sather in _Understanding the Apple IIe_, table 5.5, p. 5-24. For example: ```assembly_x86 sta $c08a ; WRITE DISABLE; READ DISABLE lda $c08b ; PRE-WRITE set lda $c08b ; WRITE enabled sta $c08a ; PRE-WRITE reset; WRITE still enabled! lda $c08b ; PRE-WRITE set; WRITE still enabled! ``` would not work correctly because the last line would clear `_writebsr` before setting `_prewrite`, which is incorrect. Now, `_writebsr` is only set when `_prewrite` is set and thus only cleared when `writeSwitch` is false. This matches Table 5.5. * Fix pre-write for the language card This is the same issue as the `MMU`, namely that `langcard.ts` would deactivate writing to the language card if `prewrite` was reset. However, it is totally possible to reset `prewrite` and leave writing enabled, as shown my Sather in _Understanding the Apple II_, table 5.4, p. 5-30. See the previous commit for an example. This change also adds a test for the `LanguageCard` class.
2023-07-08 18:18:38 +00:00
"babel-jest": "^29.5.0",
"canvas": "^2.11.2",
"css-loader": "^6.7.1",
2022-06-04 18:34:17 +00:00
"eslint": "^8.17.0",
"eslint-plugin-jest": "^26.4.3",
"eslint-plugin-react": "^7.30.0",
"eslint-plugin-react-hooks": "^4.5.0",
2020-03-22 23:35:27 +00:00
"file-loader": "^6.0.0",
"identity-obj-proxy": "^3.0.0",
Fix issue #187 (and upgrade jest) (#188) * Update jest to v29.5.0 This updates jest to the latest version (29.5.0) and fixes everything that the upgrade breaks. One of the biggest differences is that the mock types changed and I'm once again confused as to the "proper" way to create mocks in jest. Whatever. * Fix issue #187 were bank writing was not working correctly Before, `mmu.ts` would deactivate writing to the language card if `prewrite` was reset. However, it is totally possible to reset `prewrite` and leave writing enabled, as shown my Sather in _Understanding the Apple IIe_, table 5.5, p. 5-24. For example: ```assembly_x86 sta $c08a ; WRITE DISABLE; READ DISABLE lda $c08b ; PRE-WRITE set lda $c08b ; WRITE enabled sta $c08a ; PRE-WRITE reset; WRITE still enabled! lda $c08b ; PRE-WRITE set; WRITE still enabled! ``` would not work correctly because the last line would clear `_writebsr` before setting `_prewrite`, which is incorrect. Now, `_writebsr` is only set when `_prewrite` is set and thus only cleared when `writeSwitch` is false. This matches Table 5.5. * Fix pre-write for the language card This is the same issue as the `MMU`, namely that `langcard.ts` would deactivate writing to the language card if `prewrite` was reset. However, it is totally possible to reset `prewrite` and leave writing enabled, as shown my Sather in _Understanding the Apple II_, table 5.4, p. 5-30. See the previous commit for an example. This change also adds a test for the `LanguageCard` class.
2023-07-08 18:18:38 +00:00
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
2023-07-08 19:41:53 +00:00
"jest-image-snapshot": "^6.1.0",
"node-forge": "^1.3.0",
"raw-loader": "^4.0.0",
"rimraf": "^3.0.2",
"sass": "^1.57.1",
"sass-loader": "^13.2.0",
"style-loader": "^3.3.1",
"stylelint": "^15.10.1",
Bump yaml, stylelint, stylelint-config-css-modules, stylelint-config-standard, stylelint-config-standard-scss and stylelint-scss (#184) Removes [yaml](https://github.com/eemeli/yaml). It's no longer used after updating ancestor dependencies [yaml](https://github.com/eemeli/yaml), [stylelint](https://github.com/stylelint/stylelint), [stylelint-config-css-modules](https://github.com/pascalduez/stylelint-config-css-modules), [stylelint-config-standard](https://github.com/stylelint/stylelint-config-standard), [stylelint-config-standard-scss](https://github.com/stylelint-scss/stylelint-config-standard-scss) and [stylelint-scss](https://github.com/stylelint-scss/stylelint-scss). These dependencies need to be updated together. Removes `yaml` Updates `stylelint` from 14.16.1 to 15.6.0 - [Release notes](https://github.com/stylelint/stylelint/releases) - [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md) - [Commits](https://github.com/stylelint/stylelint/compare/14.16.1...15.6.0) Updates `stylelint-config-css-modules` from 4.1.0 to 4.2.0 - [Release notes](https://github.com/pascalduez/stylelint-config-css-modules/releases) - [Changelog](https://github.com/pascalduez/stylelint-config-css-modules/blob/main/CHANGELOG.md) - [Commits](https://github.com/pascalduez/stylelint-config-css-modules/compare/4.1.0...4.2.0) Updates `stylelint-config-standard` from 26.0.0 to 33.0.0 - [Release notes](https://github.com/stylelint/stylelint-config-standard/releases) - [Changelog](https://github.com/stylelint/stylelint-config-standard/blob/main/CHANGELOG.md) - [Commits](https://github.com/stylelint/stylelint-config-standard/compare/26.0.0...33.0.0) Updates `stylelint-config-standard-scss` from 6.1.0 to 9.0.0 - [Release notes](https://github.com/stylelint-scss/stylelint-config-standard-scss/releases) - [Changelog](https://github.com/stylelint-scss/stylelint-config-standard-scss/blob/main/CHANGELOG.md) - [Commits](https://github.com/stylelint-scss/stylelint-config-standard-scss/compare/v6.1.0...v9.0.0) Updates `stylelint-scss` from 4.3.0 to 4.6.0 - [Release notes](https://github.com/stylelint-scss/stylelint-scss/releases) - [Changelog](https://github.com/stylelint-scss/stylelint-scss/blob/master/CHANGELOG.md) - [Commits](https://github.com/stylelint-scss/stylelint-scss/compare/v4.3.0...v4.6.0) --- updated-dependencies: - dependency-name: yaml dependency-type: indirect - dependency-name: stylelint dependency-type: direct:development - dependency-name: stylelint-config-css-modules dependency-type: direct:development - dependency-name: stylelint-config-standard dependency-type: direct:development - dependency-name: stylelint-config-standard-scss dependency-type: direct:development - dependency-name: stylelint-scss dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-25 13:14:17 +00:00
"stylelint-config-css-modules": "^4.2.0",
"stylelint-config-standard": "^33.0.0",
"stylelint-config-standard-scss": "^9.0.0",
"stylelint-scss": "^4.6.0",
Fix issue #187 (and upgrade jest) (#188) * Update jest to v29.5.0 This updates jest to the latest version (29.5.0) and fixes everything that the upgrade breaks. One of the biggest differences is that the mock types changed and I'm once again confused as to the "proper" way to create mocks in jest. Whatever. * Fix issue #187 were bank writing was not working correctly Before, `mmu.ts` would deactivate writing to the language card if `prewrite` was reset. However, it is totally possible to reset `prewrite` and leave writing enabled, as shown my Sather in _Understanding the Apple IIe_, table 5.5, p. 5-24. For example: ```assembly_x86 sta $c08a ; WRITE DISABLE; READ DISABLE lda $c08b ; PRE-WRITE set lda $c08b ; WRITE enabled sta $c08a ; PRE-WRITE reset; WRITE still enabled! lda $c08b ; PRE-WRITE set; WRITE still enabled! ``` would not work correctly because the last line would clear `_writebsr` before setting `_prewrite`, which is incorrect. Now, `_writebsr` is only set when `_prewrite` is set and thus only cleared when `writeSwitch` is false. This matches Table 5.5. * Fix pre-write for the language card This is the same issue as the `MMU`, namely that `langcard.ts` would deactivate writing to the language card if `prewrite` was reset. However, it is totally possible to reset `prewrite` and leave writing enabled, as shown my Sather in _Understanding the Apple II_, table 5.4, p. 5-30. See the previous commit for an example. This change also adds a test for the `LanguageCard` class.
2023-07-08 18:18:38 +00:00
"ts-jest": "^29.1.0",
2023-08-07 01:34:53 +00:00
"ts-loader": "^9.4.4",
"typescript": "^4.9.5",
"webpack": "^5.76.0",
2021-11-29 00:41:55 +00:00
"webpack-cli": "^4.9.1",
"webpack-dev-server": "^4.6.0",
2021-07-04 15:12:12 +00:00
"webpack-merge": "^5.8.0",
2021-04-24 23:17:57 +00:00
"y18n": "^4.0.1"
},
"dependencies": {
2022-06-15 16:42:07 +00:00
"apple2shader": "0.0.4",
"classnames": "^2.3.1",
"micromodal": "^0.4.2",
"preact": "^10.7.1"
}
}