-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
68 lines (68 loc) · 2.92 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
{
"private": true,
"workspaces": [
"theme",
"demo"
],
"devDependencies": {
"@commitlint/cli": "^19.5.0",
"@commitlint/config-conventional": "^19.5.0",
"@commitlint/prompt-cli": "^19.5.0",
"@testing-library/cypress": "^10.0.2",
"@types/node": "^20.16.13",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@types/testing-library__cypress": "^5.0.13",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"concurrently": "^8.2.2",
"cross-env": "^7.0.3",
"cypress": "^13.15.1",
"eslint": "^8.57.1",
"eslint-config-prettier": "^8.10.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-react-hooks": "^4.6.2",
"gatsby-cypress": "^2.25.0",
"husky": "^9.1.6",
"lint-staged": "^15.2.10",
"prettier": "^2.8.8",
"start-server-and-test": "^2.0.8",
"typescript": "^5.6.3"
},
"scripts": {
"build": "yarn run demo:clean && yarn run demo:build",
"cy:open": "cypress open",
"cy:run": "cross-env CYPRESS_baseUrl=http://localhost:9000 cypress run",
"demo:build": "yarn workspace demo build",
"demo:clean": "yarn workspace demo clean",
"demo:cy:build": "cross-env CYPRESS_SUPPORT=y yarn run demo:build",
"demo:cy:dev": "cross-env CYPRESS_SUPPORT=y yarn run demo:dev",
"demo:dev": "yarn workspace demo develop -H 0.0.0.0",
"demo:format:write": "yarn run demo:format --write",
"demo:format": "prettier 'demo/**/*.{json,yaml,md,mdx}' --check",
"demo:lint:fix": "yarn run demo:lint --fix",
"demo:lint": "eslint --ignore-path .gitignore './demo' --ext ts --ext tsx --ext js --ext jsx --ext mdx",
"demo:serve": "yarn workspace demo serve",
"demo:ssat:dev": "start-server-and-test demo:cy:dev http://localhost:8000 cy:open",
"demo:ssat:serve": "start-server-and-test demo:serve http://localhost:9000 cy:run",
"dev": "yarn run demo:clean && yarn run demo:dev",
"e2e:ci": "yarn tsc:compile && yarn demo:cy:build && yarn demo:ssat:serve",
"e2e:dev": "concurrently --kill-others 'yarn tsc:compile:watch' 'yarn demo:ssat:dev'",
"format:write": "yarn demo:format:write & yarn theme:format:write",
"format": "yarn demo:format & yarn theme:format",
"info": "gatsby info --clipboard",
"lint:fix": "yarn demo:lint:fix & yarn theme:lint:fix",
"lint": "yarn demo:lint & yarn theme:lint",
"serve": "yarn run demo:serve",
"theme:format:write": "yarn run theme:format --write",
"theme:format": "prettier 'theme/**/*.{json,yaml,md,mdx}' --check",
"theme:lint:fix": "yarn theme:lint --fix",
"theme:lint": "eslint --ignore-path .gitignore './theme' --ext ts --ext tsx --ext js --ext jsx --ext mdx",
"tsc:compile:watch": "tsc --watch --project cypress/tsconfig.json",
"tsc:compile": "tsc --project cypress/tsconfig.json",
"type-check": "tsc --noEmit",
"commit": "commit",
"prepare": "husky install"
}
}