-
Notifications
You must be signed in to change notification settings - Fork 185
/
package.json
155 lines (155 loc) · 5.26 KB
/
package.json
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
{
"name": "playroom",
"version": "0.39.1",
"description": "Design with code, powered by your own component library",
"main": "utils/index.js",
"types": "utils/index.d.ts",
"bin": {
"playroom": "bin/cli.cjs"
},
"files": [
"CHANGELOG.md",
".babelrc",
"images",
"lib",
"src",
"utils"
],
"scripts": {
"cypress": "start-server-and-test build-and-serve:all '9000|9001|9002' 'cypress run'",
"cypress:dev": "start-server-and-test start:all '9000|9001|9002' 'cypress open --browser chrome --e2e'",
"cypress:verify": "cypress verify",
"start": "pnpm start:basic",
"start:basic": "./bin/cli.cjs start --config cypress/projects/basic/playroom.config.js",
"build:basic": "./bin/cli.cjs build --config cypress/projects/basic/playroom.config.js",
"serve:basic": "PORT=9000 serve --config ../serve.json --no-request-logging cypress/projects/basic/dist",
"start:themed": "./bin/cli.cjs start --config cypress/projects/themed/playroom.config.js",
"build:themed": "./bin/cli.cjs build --config cypress/projects/themed/playroom.config.js",
"serve:themed": "PORT=9001 serve --config ../serve.json --no-request-logging cypress/projects/themed/dist",
"start:typescript": "./bin/cli.cjs start --config cypress/projects/typescript/playroom.config.js",
"build:typescript": "./bin/cli.cjs build --config cypress/projects/typescript/playroom.config.js",
"serve:typescript": "PORT=9002 serve --config ../serve.json --no-request-logging cypress/projects/typescript/dist",
"start:all": "concurrently 'npm:start:*(!all)'",
"build:all": "concurrently 'npm:build:*(!all)'",
"serve:all": "concurrently 'npm:serve:*(!all)'",
"build-and-serve:all": "pnpm build:all && pnpm serve:all",
"lint": "concurrently 'npm:lint:*'",
"lint:eslint": "NODE_OPTIONS=--max_old_space_size=8192 eslint --cache .",
"lint:prettier": "prettier --list-different '**/*.{js,md,ts,tsx}'",
"lint:tsc": "tsc --noEmit",
"lint:cypress": "tsc --project cypress/tsconfig.json",
"format": "prettier --write '**/*.{js,md,ts,tsx}'",
"version": "changeset version",
"release": "changeset publish",
"test": "jest src",
"post-commit-status": "node scripts/postCommitStatus.js",
"deploy-preview": "surge -p ./cypress/projects/themed/dist"
},
"lint-staged": {
"**/*.{js,ts,tsx}": [
"eslint"
],
"**/*.{js,md,ts,tsx}": [
"prettier --write"
]
},
"repository": {
"type": "git",
"url": "https://github.com/seek-oss/playroom.git"
},
"author": "SEEK",
"license": "MIT",
"bugs": {
"url": "https://github.com/seek-oss/playroom/issues"
},
"homepage": "https://github.com/seek-oss/playroom#readme",
"dependencies": {
"@babel/core": "^7.20.5",
"@babel/parser": "^7.23.4",
"@babel/preset-env": "^7.20.2",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.18.6",
"@soda/friendly-errors-webpack-plugin": "^1.8.1",
"@types/base64-url": "^2.2.0",
"@types/codemirror": "^5.60.5",
"@types/lodash": "^4.14.191",
"@types/prettier": "^2.7.1",
"@types/react": "^18.0.26",
"@types/react-dom": "^18.0.9",
"@vanilla-extract/css": "^1.9.2",
"@vanilla-extract/css-utils": "^0.1.3",
"@vanilla-extract/dynamic": "^2.1.2",
"@vanilla-extract/sprinkles": "^1.5.1",
"@vanilla-extract/webpack-plugin": "^2.3.6",
"babel-loader": "^9.1.0",
"classnames": "^2.3.2",
"clsx": "^2.1.1",
"codemirror": "^5.65.10",
"command-line-args": "^5.2.1",
"command-line-usage": "^6.1.3",
"copy-to-clipboard": "^3.3.3",
"css-loader": "^6.7.2",
"dedent": "^1.5.1",
"fast-glob": "^3.2.12",
"find-up": "^5.0.0",
"fuzzy": "^0.1.3",
"history": "^5.3.0",
"html-webpack-plugin": "^5.5.0",
"intersection-observer": "^0.12.2",
"localforage": "^1.10.0",
"lodash": "^4.17.21",
"lz-string": "^1.5.0",
"memoize-one": "^6.0.0",
"mini-css-extract-plugin": "^2.7.2",
"parse-prop-types": "^0.3.0",
"polished": "^4.2.2",
"portfinder": "^1.0.32",
"prettier": "^2.8.1",
"prop-types": "^15.8.1",
"re-resizable": "^6.10.0",
"react-docgen-typescript": "^2.2.2",
"react-helmet": "^6.1.0",
"react-transition-group": "^4.4.5",
"react-use": "^17.4.0",
"read-pkg-up": "^7.0.1",
"scope-eval": "^1.0.0",
"sucrase": "^3.34.0",
"typescript": ">=5.0.0",
"use-debounce": "^10.0.0",
"webpack": "^5.75.0",
"webpack-dev-server": "^5.0.2",
"webpack-merge": "^5.8.0"
},
"devDependencies": {
"@actions/core": "^1.10.0",
"@changesets/cli": "^2.25.2",
"@octokit/rest": "^19.0.5",
"@testing-library/cypress": "^10.0.1",
"@types/jest": "^29.2.4",
"@types/react-helmet": "^6.1.6",
"@types/react-transition-group": "^4.4.10",
"concurrently": "^7.6.0",
"cypress": "^13.6.6",
"eslint": "^8.56.0",
"eslint-config-seek": "^11.3.1",
"husky": "^8.0.2",
"jest": "^29.3.1",
"lint-staged": "^15.2.2",
"react": "^18.0.1",
"react-dom": "^18.0.1",
"serve": "^14.1.2",
"start-server-and-test": "^1.15.2",
"surge": "^0.23.1"
},
"peerDependencies": {
"react": "^17 || ^18",
"react-dom": "^17 || ^18"
},
"engines": {
"node": ">=18.12.0"
},
"packageManager": "[email protected]",
"volta": {
"node": "18.19.1"
}
}