ma-dino-game 0.1.3 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,12 +1,28 @@
1
1
  {
2
2
  "name": "ma-dino-game",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "description": "Dino Game",
5
- "main": "dist/index.js",
6
- "types": "dist/index.d.ts",
7
- "files": ["dist"],
5
+ "main": "build/lib.js",
6
+ "module": "build/lib.js",
7
+ "types": "build/lib.d.ts",
8
+ "files": [
9
+ "build"
10
+ ],
8
11
  "license": "MIT",
9
- "dependencies": {
12
+ "peerDependencies": {
13
+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
14
+ "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
15
+ },
16
+ "dependencies": {},
17
+ "scripts": {
18
+ "start": "react-scripts start",
19
+ "build": "tsc -p tsconfig.build.json && npm run copy-css",
20
+ "copy-css": "cp src/components/DinoGame/dino.css build/components/DinoGame/",
21
+ "test": "react-scripts test",
22
+ "eject": "react-scripts eject",
23
+ "prepublishOnly": "npm run build"
24
+ },
25
+ "devDependencies": {
10
26
  "@testing-library/dom": "^10.4.1",
11
27
  "@testing-library/jest-dom": "^6.9.1",
12
28
  "@testing-library/react": "^16.3.1",
@@ -18,18 +34,10 @@
18
34
  "react": "^19.2.3",
19
35
  "react-dom": "^19.2.3",
20
36
  "react-scripts": "5.0.1",
37
+ "react-scripts-ts": "latest",
21
38
  "typescript": "^4.9.5",
22
39
  "web-vitals": "^2.1.4"
23
40
  },
24
- "scripts": {
25
- "start": "react-scripts start",
26
- "build": "react-scripts build",
27
- "test": "react-scripts test",
28
- "eject": "react-scripts eject"
29
- },
30
- "devDependencies": {
31
- "react-scripts-ts": "latest"
32
- },
33
41
  "eslintConfig": {
34
42
  "extends": [
35
43
  "react-app",