Skip to content

Commit

Permalink
test: set up @sanity/ui-workshop
Browse files Browse the repository at this point in the history
  • Loading branch information
mariuslundgard committed Mar 20, 2023
1 parent b95cfdc commit 144eb98
Show file tree
Hide file tree
Showing 4 changed files with 944 additions and 15 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
.DS_Store
dist
node_modules

/*.log
/*.tgz
/.workshop
18 changes: 15 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,29 +26,37 @@
"build": "run-s clean generate build:pkg check:pkg",
"build:pkg": "pkg build --strict",
"check:pkg": "pkg --strict",
"check:types": "tsc",
"clean": "rimraf .workshop dist",
"check:types": "tsc --build",
"clean": "rimraf dist",
"commit": "cz",
"dev": "run-p workshop:dev",
"format": "prettier --write --cache --ignore-unknown .",
"generate": "node --loader esbuild-register/loader -r esbuild-register scripts/generate.ts",
"lint": "eslint . --ext .cjs,.js,.jsx,.mjs,.ts,.tsx --quiet",
"prepare": "husky install",
"prepublishOnly": "pnpm build",
"release": "semantic-release",
"test": "jest",
"watch": "pkg watch --strict"
"watch": "pkg watch --strict",
"workshop:build": "workshop build",
"workshop:dev": "workshop dev"
},
"devDependencies": {
"@babel/core": "^7.21.3",
"@babel/preset-env": "^7.20.2",
"@babel/preset-typescript": "^7.21.0",
"@commitlint/cli": "^17.4.4",
"@commitlint/config-conventional": "^17.4.4",
"@sanity/icons": "^2.2.2",
"@sanity/pkg-utils": "^2.2.10",
"@sanity/semantic-release-preset": "^4.0.0",
"@sanity/ui": "^1.3.0",
"@sanity/ui-workshop": "^1.2.1",
"@testing-library/jest-dom": "^5.16.5",
"@types/jest": "^29.5.0",
"@types/node": "^18.15.3",
"@types/react": "^18.0.28",
"@types/styled-components": "^5.1.26",
"@typescript-eslint/eslint-plugin": "^5.55.0",
"@typescript-eslint/parser": "^5.55.0",
"commitizen": "^4.3.0",
Expand All @@ -66,8 +74,12 @@
"npm-run-all": "^4.1.5",
"polished": "^4.2.2",
"prettier": "^2.8.4",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-is": "^18.2.0",
"rimraf": "^4.4.0",
"semantic-release": "^20.1.3",
"styled-components": "^5.3.9",
"typescript": "^4.9.5"
},
"repository": {
Expand Down
Loading

0 comments on commit 144eb98

Please sign in to comment.