|
1 | 1 | { |
2 | | - "name": "react-live", |
3 | | - "version": "4.0.1", |
4 | | - "description": "A production-focused playground for live editing React code", |
| 2 | + "name": "react-live-workspace", |
| 3 | + "private": "true", |
5 | 4 | "main": "dist/react-live.cjs.js", |
6 | 5 | "types": "dist/index.d.ts", |
7 | 6 | "jsnext:main": "dist/react-live.es.js", |
8 | 7 | "module": "dist/react-live.es.js", |
9 | 8 | "license": "MIT", |
10 | 9 | "scripts": { |
11 | | - "storybook": "start-storybook -p 9001", |
12 | | - "storybook:build": "build-storybook -o .out", |
13 | | - "prebuild:lib": "rm -rf lib/*", |
14 | | - "prebuild": "yarn lint", |
15 | | - "build": "rollup -c", |
16 | | - "prepublishOnly": "npm run build", |
17 | | - "test": "jest", |
18 | | - "test:typings": "typings-tester --dir typings", |
19 | | - "typecheck": "tsc --noEmit", |
20 | | - "lint": "eslint --config .eslintrc \"./src/**/*.js\"", |
21 | | - "install:docs": "yarn --cwd website install", |
22 | | - "start:docs": "yarn --cwd website start", |
23 | | - "build:docs": "yarn --cwd website build", |
24 | | - "format:docs": "prettier --write docs", |
| 10 | + "start:docs": "pnpm run --filter website start", |
| 11 | + "build": "pnpm run -r build", |
| 12 | + "build:lib": "pnpm run --filter react-live build", |
| 13 | + "lint": "pnpm run --parallel lint", |
| 14 | + "lint:fix": "pnpm run --parallel lint --fix", |
25 | 15 | "changeset": "changeset", |
26 | | - "version": "yarn changeset version" |
| 16 | + "version": "pnpm changeset version && pnpm install --no-frozen-lockfile" |
27 | 17 | }, |
28 | 18 | "dependencies": { |
29 | | - "prism-react-renderer": "^1.3.1", |
30 | | - "sucrase": "^3.31.0", |
31 | | - "use-editable": "^2.3.3" |
| 19 | + "prism-react-renderer": "^2.0.3" |
32 | 20 | }, |
33 | 21 | "devDependencies": { |
34 | | - "@babel/core": "^7.15.0", |
35 | 22 | "@babel/eslint-parser": "^7.15.0", |
36 | | - "@babel/plugin-proposal-class-properties": "^7.14.5", |
37 | | - "@babel/plugin-proposal-object-rest-spread": "^7.14.7", |
38 | | - "@babel/plugin-transform-runtime": "^7.15.0", |
39 | | - "@babel/preset-env": "^7.15.0", |
40 | | - "@babel/preset-react": "^7.14.5", |
41 | | - "@babel/preset-typescript": "^7.21.0", |
42 | 23 | "@changesets/cli": "^2.26.1", |
43 | | - "@rollup/plugin-babel": "^5.3.0", |
44 | | - "@rollup/plugin-commonjs": "^20.0.0", |
45 | | - "@rollup/plugin-node-resolve": "^13.0.4", |
46 | | - "@rollup/plugin-replace": "^3.0.0", |
47 | | - "@rollup/plugin-typescript": "^11.0.0", |
48 | | - "@storybook/addon-controls": "^6.4.13", |
49 | | - "@storybook/builder-webpack5": "^6.5.16", |
50 | | - "@storybook/manager-webpack5": "^6.5.16", |
51 | | - "@storybook/react": "^6.4.13", |
52 | 24 | "@svitejs/changesets-changelog-github-compact": "^1.1.0", |
53 | | - "@types/prismjs": "^1.26.0", |
54 | | - "@types/react": "^18.0.31", |
55 | | - "@types/styled-components": "^5.1.26", |
56 | 25 | "@typescript-eslint/eslint-plugin": "^5.57.0", |
57 | 26 | "@typescript-eslint/parser": "^5.57.0", |
58 | | - "babel-jest": "^27.0.6", |
59 | | - "babel-loader": "^8.2.2", |
60 | | - "babel-plugin-add-module-exports": "^1.0.4", |
61 | | - "babel-plugin-transform-react-remove-prop-types": "^0.4.24", |
| 27 | + "babel-eslint": "^10.1.0", |
62 | 28 | "eslint": "^8.7.0", |
63 | 29 | "eslint-plugin-filenames": "^1.3.2", |
64 | 30 | "eslint-plugin-import": "^2.25.4", |
65 | 31 | "eslint-plugin-prettier": "^4.0.0", |
66 | 32 | "eslint-plugin-react": "^7.28.0", |
67 | | - "jest": "^27.0.6", |
68 | | - "prettier": "^2.5.1", |
69 | | - "prismjs": "^1.26.0", |
70 | | - "prop-types": "^15.7.2", |
71 | | - "react": "^18.2.0", |
72 | | - "react-docgen-typescript": "^2.2.2", |
73 | | - "react-dom": "^18.2.0", |
74 | | - "react-test-renderer": "^17.0.2", |
75 | | - "rollup": "^2.55.1", |
76 | | - "rollup-plugin-filesize": "^9.1.1", |
77 | | - "rollup-plugin-terser": "^7.0.2", |
78 | | - "rollup-plugin-visualizer": "^5.5.4", |
79 | | - "styled-components": "^4.0.0-beta.8", |
80 | | - "typescript": "^4.9", |
81 | | - "typings-tester": "^0.3.1", |
82 | | - "webpack": "^5.76.3" |
83 | | - }, |
84 | | - "publishConfig": { |
85 | | - "provenance": true |
86 | | - }, |
87 | | - "files": [ |
88 | | - "src", |
89 | | - "lib", |
90 | | - "dist", |
91 | | - "react-live.css", |
92 | | - "typings/react-live.d.ts" |
93 | | - ], |
94 | | - "author": "@FormidableLabs", |
95 | | - "bugs": { |
96 | | - "url": "https://github.com/philpl/react-live/issues" |
97 | | - }, |
98 | | - "repository": { |
99 | | - "type": "git", |
100 | | - "url": "https://github.com/FormidableLabs/react-live" |
101 | | - }, |
102 | | - "engines": { |
103 | | - "npm": ">= 2.0.0", |
104 | | - "node": ">= 0.12.0" |
105 | | - }, |
106 | | - "keywords": [ |
107 | | - "react", |
108 | | - "live", |
109 | | - "live edit", |
110 | | - "component playground", |
111 | | - "react live" |
112 | | - ], |
113 | | - "jest": { |
114 | | - "testEnvironment": "jsdom", |
115 | | - "resetMocks": true, |
116 | | - "rootDir": "./src", |
117 | | - "testURL": "http://localhost/" |
118 | | - }, |
119 | | - "sideEffects": false |
| 33 | + "prettier": "^2.5.1" |
| 34 | + } |
120 | 35 | } |
0 commit comments