-
Notifications
You must be signed in to change notification settings - Fork 159
Expand file tree
/
Copy pathpackage.json
More file actions
34 lines (34 loc) · 1.33 KB
/
package.json
File metadata and controls
34 lines (34 loc) · 1.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{
"name": "gl-react-dev",
"version": "0.0.0",
"workspaces": [
"packages/*"
],
"private": true,
"packageManager": "yarn@4.10.3",
"license": "MIT",
"scripts": {
"preinstall": "node -e \"if (process.env.npm_execpath.indexOf('yarn') === -1) { console.log('\u001b[31mPlease use yarn\u001b[0m'); process.exit(1); }\"",
"build": "./scripts/build.sh",
"watch": "./scripts/watch.sh",
"prettier": "prettier --write 'packages/{gl-react,gl-react-dom,gl-react-expo,gl-react-headless,gl-react-native}/src/**/*.{ts,tsx}' 'packages/cookbook-v2/src/**/*.{ts,tsx}'",
"cookbook-v2": "cd packages/cookbook-v2 && yarn dev",
"test": "cd packages/tests && yarn test",
"test-rewrite-snapshots": "cd packages/tests && yarn test -- -u",
"clean": "rm -rf node_modules packages/*/node_modules/ packages/*/lib",
"typecheck": "echo 'TODO: tsc -b (needs peerDep resolution for PnP)'",
"publish": "yarn && yarn build && echo 'Use yarn workspace <pkg> npm publish for each package'"
},
"devDependencies": {
"@babel/cli": "^7.26.0",
"@babel/preset-env": "^7.26.0",
"@babel/preset-react": "^7.26.0",
"@babel/preset-typescript": "^7.26.0",
"@types/node": "^22.0.0",
"@types/react": "^19.0.0",
"browserify": "^17.0.0",
"browserify-shim": "^3.8.12",
"prettier": "^3.3.3",
"typescript": "^5.7.0"
}
}