2019-01-09 08:51:25 +00:00
|
|
|
{
|
|
|
|
"name": "apple2js",
|
|
|
|
"version": "0.0.1",
|
|
|
|
"description": "Apple II Emulator in JavaScript",
|
|
|
|
"scripts": {
|
2021-07-07 00:04:02 +00:00
|
|
|
"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'",
|
2021-07-07 00:04:02 +00:00
|
|
|
"start": "webpack serve --mode=development --progress",
|
2019-03-27 04:02:27 +00:00
|
|
|
"test": "jest"
|
2019-01-09 08:51:25 +00:00
|
|
|
},
|
2019-09-07 18:18:42 +00:00
|
|
|
"engines": {
|
2023-07-08 20:14:31 +00:00
|
|
|
"node": ">= 16"
|
2019-09-07 18:18:42 +00:00
|
|
|
},
|
2019-01-09 08:51:25 +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",
|
2022-05-10 13:52:06 +00:00
|
|
|
"@babel/plugin-transform-react-jsx": "^7.17.3",
|
2020-03-22 23:35:27 +00:00
|
|
|
"@babel/preset-env": "^7.9.0",
|
2022-05-10 13:52:06 +00:00
|
|
|
"@babel/preset-typescript": "^7.16.7",
|
2021-04-21 00:42:32 +00:00
|
|
|
"@testing-library/dom": "^7.30.3",
|
2022-06-01 00:41:24 +00:00
|
|
|
"@testing-library/jest-dom": "^5.16.4",
|
2022-05-28 17:52:48 +00:00
|
|
|
"@testing-library/preact": "^3.0.1",
|
2021-04-21 00:42:32 +00:00
|
|
|
"@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",
|
2021-03-31 00:27:44 +00:00
|
|
|
"@types/micromodal": "^0.3.2",
|
2023-08-12 22:47:18 +00:00
|
|
|
"@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",
|
2023-07-08 20:14:31 +00:00
|
|
|
"canvas": "^2.11.2",
|
2022-06-03 22:30:39 +00:00
|
|
|
"css-loader": "^6.7.1",
|
2022-06-04 18:34:17 +00:00
|
|
|
"eslint": "^8.17.0",
|
2022-05-30 16:29:48 +00:00
|
|
|
"eslint-plugin-jest": "^26.4.3",
|
2022-05-29 20:48:51 +00:00
|
|
|
"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",
|
2022-06-03 22:30:39 +00:00
|
|
|
"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",
|
2022-04-03 00:20:45 +00:00
|
|
|
"node-forge": "^1.3.0",
|
2020-01-02 19:11:04 +00:00
|
|
|
"raw-loader": "^4.0.0",
|
2021-07-07 00:04:02 +00:00
|
|
|
"rimraf": "^3.0.2",
|
2023-01-12 02:14:44 +00:00
|
|
|
"sass": "^1.57.1",
|
|
|
|
"sass-loader": "^13.2.0",
|
2022-06-03 22:30:39 +00:00
|
|
|
"style-loader": "^3.3.1",
|
2023-07-08 19:25:01 +00:00
|
|
|
"stylelint": "^15.10.1",
|
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",
|
2023-05-28 23:24:47 +00:00
|
|
|
"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"
|
2019-03-13 04:11:00 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2022-06-15 16:42:07 +00:00
|
|
|
"apple2shader": "0.0.4",
|
2022-05-10 13:52:06 +00:00
|
|
|
"classnames": "^2.3.1",
|
|
|
|
"micromodal": "^0.4.2",
|
|
|
|
"preact": "^10.7.1"
|
2019-01-09 08:51:25 +00:00
|
|
|
}
|
|
|
|
}
|