|
1 | 1 | { |
2 | | - "name": "react-youtube", |
3 | | - "version": "1.0.0-semantic-release", |
4 | | - "description": "React.js powered YouTube player component", |
5 | | - "main": "dist/YouTube.js", |
6 | | - "module": "dist/YouTube.mjs", |
7 | | - "types": "dist/YouTube.d.ts", |
8 | | - "targets": { |
9 | | - "main": false, |
10 | | - "module": false, |
11 | | - "types": false |
12 | | - }, |
13 | | - "sideEffects": false, |
14 | | - "files": [ |
15 | | - "dist/**" |
16 | | - ], |
17 | | - "repository": { |
18 | | - "type": "git", |
19 | | - "url": "[email protected]:tjallingt/react-youtube.git" |
20 | | - }, |
21 | | - "keywords": [ |
22 | | - "react", |
23 | | - "youtube", |
24 | | - "player", |
25 | | - "react-component" |
26 | | - ], |
27 | | - "author": "Tjalling Tolle <[email protected]>", |
28 | | - "license": "MIT", |
29 | | - "bugs": { |
30 | | - "url": "https://github.com/tjallingt/react-youtube/issues" |
31 | | - }, |
32 | | - "homepage": "https://github.com/tjallingt/react-youtube", |
33 | | - "dependencies": { |
34 | | - "fast-deep-equal": "3.1.3", |
35 | | - "prop-types": "15.8.1", |
36 | | - "youtube-player": "5.5.2" |
| 2 | + "private": true, |
| 3 | + "scripts": { |
| 4 | + "dev": "turbo run dev --parallel", |
| 5 | + "build": "turbo run build", |
| 6 | + "test": "turbo run test", |
| 7 | + "clean": "turbo run clean && rm -rf node_modules", |
| 8 | + "release": "turbo run release --concurrency=1", |
| 9 | + "lint": "eslint packages --ext .ts,.tsx,.js,.jsx", |
| 10 | + "commit": "git-cz", |
| 11 | + "prepare": "husky install" |
37 | 12 | }, |
38 | 13 | "devDependencies": { |
39 | 14 | "@commitlint/cli": "16.2.3", |
40 | 15 | "@commitlint/config-conventional": "16.2.1", |
41 | | - "@testing-library/jest-dom": "5.16.4", |
42 | | - "@testing-library/react": "12.1.4", |
43 | | - "@types/jest": "27.4.1", |
44 | | - "@types/youtube-player": "5.5.6", |
| 16 | + "@typescript-eslint/eslint-plugin": "5.19.0", |
| 17 | + "@typescript-eslint/parser": "5.19.0", |
45 | 18 | "commitizen": "4.2.4", |
46 | | - "cross-env": "7.0.3", |
47 | 19 | "cz-conventional-changelog": "3.3.0", |
48 | 20 | "eslint": "8.13.0", |
49 | 21 | "eslint-config-prettier": "8.5.0", |
50 | | - "eslint-config-react-app": "7.0.0", |
| 22 | + "eslint-config-react-app": "7.0.1", |
51 | 23 | "eslint-plugin-prettier": "4.0.0", |
52 | 24 | "husky": "7.0.4", |
53 | | - "jest": "27.5.1", |
54 | 25 | "lint-staged": "12.3.7", |
55 | | - "parcel": "2.4.1", |
56 | 26 | "prettier": "2.6.2", |
57 | | - "process": "0.11.10", |
58 | | - "react": "17.0.2", |
59 | | - "react-dom": "17.0.2", |
60 | | - "ts-jest": "27.1.4", |
61 | | - "tsup": "5.12.4", |
| 27 | + "turbo": "1.2.2", |
62 | 28 | "typescript": "4.6.3" |
63 | 29 | }, |
64 | | - "peerDependencies": { |
65 | | - "react": ">=0.14.1" |
66 | | - }, |
67 | | - "engines": { |
68 | | - "node": ">= 14.x" |
69 | | - }, |
70 | | - "scripts": { |
71 | | - "test": "jest", |
72 | | - "test:ci": "jest --ci --runInBand", |
73 | | - "compile": "tsup src/YouTube.tsx --format esm,cjs --dts --external react", |
74 | | - "prepublishOnly": "npm run compile", |
75 | | - "lint": "eslint src example --ext .ts,.tsx,.js,.jsx", |
76 | | - "example": "parcel example/index.html --public-url /react-youtube/ --open", |
77 | | - "example:build": "parcel build example/index.html --public-url /react-youtube/ --dist-dir build", |
78 | | - "commit": "git-cz", |
79 | | - "prepare": "husky install" |
80 | | - }, |
81 | 30 | "lint-staged": { |
82 | 31 | "*.js": "eslint --ext .ts,.tsx,.js,.jsx --fix", |
83 | 32 | "*.{html,json}": "prettier --write" |
|
87 | 36 | "path": "cz-conventional-changelog" |
88 | 37 | } |
89 | 38 | }, |
90 | | - "jest": { |
91 | | - "testEnvironment": "jsdom", |
92 | | - "preset": "ts-jest" |
93 | | - } |
| 39 | + "workspaces": [ |
| 40 | + "packages/*" |
| 41 | + ] |
94 | 42 | } |
0 commit comments