forked from sanity-io/sanity
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
139 lines (139 loc) · 5.65 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
{
"name": "sanity",
"private": true,
"isSanityMonorepo": true,
"scripts": {
"workshop": "cd dev/workshop && npm run dev",
"bootstrap": "lerna bootstrap && npm run build:cli && npm run package",
"dev": "npm start",
"rebuild": "gulp build",
"build": "gulp clean && gulp build && npm run package",
"build:cli": "gulp build:cli",
"build:js": "gulp js",
"clean": "lerna clean && gulp clean && rimraf node_modules",
"publish": "npm run build && lerna publish --exact",
"publish-canary": "RELEASE_TAG=canary npm run publish-tag",
"publish-current-branch": "RELEASE_TAG=`git rev-parse --abbrev-ref HEAD | sed 's/\\//\\_/g'` npm run publish-tag",
"publish-tag": "RELEASE_TAG=\"${RELEASE_TAG:-canary}\"; npm run build && lerna publish --canary --force-publish --no-git-tag-version --dist-tag=$RELEASE_TAG --preid=$RELEASE_TAG --exact",
"package": "npm run package-yarn && npm run package-cli",
"package-cli": "(cd packages/@sanity/cli && npm run pack)",
"package-yarn": "(cd packages/@sanity/cli && npm run package-yarn)",
"init": "lerna clean --yes && npm run bootstrap && npm run build",
"deploy-test": "npm run build && cd dev/test-studio && sanity deploy",
"deploy-movies": "npm run build && cd examples/movies-studio && sanity deploy",
"lint": "npm run eslint -- .",
"depcheck": "lerna exec \\$LERNA_ROOT_PATH/scripts/depcheck.js --no-bail --parallel",
"eslint": "eslint --ext=.js,.jsx,.mjs,.ts,.tsx --quiet",
"lint:fix": "eslint . --quiet --fix",
"start": "npm run test-studio",
"ecommerce-studio": "cd examples/ecommerce-studio && npm start",
"test-studio": "cd dev/test-studio && npm start",
"clean-studio": "cd examples/clean-studio && npm start",
"design-studio": "cd dev/design-studio && npm start",
"example-studio": "cd dev/example-studio && npm start",
"movies-studio": "cd examples/movies-studio && npm start",
"blog-studio": "cd examples/blog-studio && npm start",
"stylelint": "stylelint \"**/*.css\"",
"stylelint:fix": "stylelint \"**/*.css\" --fix",
"build-and-serve": "cd dev/test-studio && npm run build && history-server -p 3333 -a dist",
"test": "jest && lerna run --scope groq --scope '@sanity/{plugin-loader}' test",
"test-e2e": "start-server-and-test build-and-serve http://localhost:3333 'npm run cypress:run'",
"updated": "lerna updated",
"watch": "gulp watch",
"release-notes": "node scripts/printReleaseNotesTemplate.js",
"versions": "node scripts/normalizeDependencyVersions.js",
"normalize-pkgfields": "node scripts/normalizePackageFields.js",
"prettify": "lerna run clean && npm run prettier -- --write",
"prettier": "prettier '**/*.{ts,js,tsx,jsx}'",
"lint-next": "npm run eslint -- `git diff --name-only next --diff-filter ACMRTUXB`",
"verify-format": "lerna run clean && npm run prettier -- -c",
"postinstall": "node ./scripts/validateMonorepoDependencies.js && npm run bootstrap",
"vercel-build": "npm run build:js && cd dev/test-studio && npm run build -- -y",
"type-check": "tsc -b",
"cypress:open": "cypress open --config-file cypress/cypress.json",
"cypress:run": "cypress run --config-file cypress/cypress.json"
},
"devDependencies": {
"@babel/cli": "^7.11.6",
"@babel/core": "^7.11.6",
"@babel/parser": "7.16.4",
"@babel/plugin-proposal-class-properties": "^7.10.4",
"@babel/preset-env": "^7.11.5",
"@babel/preset-react": "^7.10.4",
"@babel/preset-typescript": "^7.10.4",
"@babel/register": "^7.7.4",
"@babel/runtime": "7.12.13",
"@sanity/client": "^3.3.3",
"@types/jest": "^27.0.1",
"@types/node": "^14.18.9",
"@types/react": "^17.0.42",
"@types/styled-components": "^5.1.7",
"@typescript-eslint/eslint-plugin": "^4.30.0",
"@typescript-eslint/parser": "^4.30.0",
"@vercel/node": "^1.8.3",
"babel-eslint": "^10.1.0",
"babel-jest": "^27.1.0",
"babel-loader": "^8.0.6",
"babel-plugin-istanbul": "^5.2.0",
"babel-plugin-lodash": "^3.3.4",
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.2",
"boxen": "^4.1.0",
"chalk": "^2.4.2",
"cypress": "^6.3.0",
"cypress-dotenv": "^1.2.2",
"deepmerge": "^3.3.0",
"del": "^5.1.0",
"depcheck": "^1.4.3",
"dotenv": "^8.2.0",
"esbuild": "^0.12.21",
"esbuild-register": "^3.0.0",
"eslint": "^7.8.1",
"eslint-config-prettier": "^6.7.0",
"eslint-config-sanity": "^5.0.0",
"eslint-import-resolver-webpack": "^0.11.1",
"eslint-plugin-cypress": "^2.11.2",
"eslint-plugin-es5": "^1.4.1",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-prettier": "^3.1.1",
"eslint-plugin-react": "^7.20.6",
"eslint-plugin-react-hooks": "^4.1.2",
"execa": "^2.0.0",
"git-repo-info": "^2.1.1",
"glob": "^7.1.2",
"globby": "^10.0.0",
"gulp": "^4.0.2",
"gulp-babel": "^8.0.0",
"gulp-changed": "^4.0.2",
"gulp-filter": "^6.0.0",
"gulp-newer": "^1.4.0",
"gulp-sourcemaps": "^2.6.5",
"gulp-watch": "^5.0.1",
"hard-rejection": "^2.1.0",
"hashids": "^2.2.8",
"history-server": "^1.3.1",
"husky": "^2.5.0",
"jest": "^27.1.0",
"lerna": "^4.0.0",
"lodash": "^4.17.15",
"merge-stream": "^2.0.0",
"minimist": "^1.2.0",
"pre-commit": "^1.2.2",
"prettier": "2.1.2",
"puppeteer": "^11.0.0",
"rimraf": "^2.7.1",
"semver": "^6.2.3",
"start-server-and-test": "^1.11.7",
"stylelint": "^13.4.1",
"stylelint-config-prettier": "^8.0.1",
"stylelint-prettier": "^1.1.2",
"typescript": "4.5.5"
},
"optionalDependencies": {
"node-notifier": "^10.0.0"
},
"husky": {
"hooks": {
"commitmsg": "node scripts/validateCommitMessage.js"
}
}
}