forked from sanity-io/sanity
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
134 lines (134 loc) · 5.7 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
{
"name": "sanity",
"private": true,
"isSanityMonorepo": true,
"scripts": {
"bootstrap": "lerna bootstrap && npm run build:cli",
"dev": "npm start",
"rebuild": "gulp build",
"build": "gulp clean && gulp build && npm run package",
"build:cli": "lerna run --scope '@sanity/{cli,client,core,export,import,mutator,resolver,server,util,webpack-loader}' build",
"build:js": "gulp js",
"clean": "gulp clean && lerna clean",
"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}\"; 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 examples/test-studio && sanity deploy",
"deploy-movies": "npm run build && cd examples/movies-studio && sanity deploy",
"lint": "npm run eslint -- .",
"depcheck": "lerna exec depcheck --no-bail --parallel",
"eslint": "node_modules/.bin/eslint --ext=.js,.jsx,.mjs,.ts,.tsx --quiet",
"lint:fix": "eslint . --quiet --fix",
"start": "npm run test-studio",
"storybook": "cd examples/storybook && npm start",
"ecommerce-studio": "cd examples/ecommerce-studio && npm start",
"test-studio": "cd examples/test-studio && npm start",
"clean-studio": "cd examples/clean-studio && npm start",
"design-studio": "cd examples/design-studio && npm start",
"perf-studio": "cd examples/perf-studio && npm start",
"example-studio": "cd examples/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 examples/test-studio && npm run build && history-server -p 3333 -a dist",
"test": "echo 'Run `npm run test-all` to run `npm test` for every package'",
"test-all": "npm run type-check && lerna run test --concurrency=2 --stream",
"test-e2e": "start-server-and-test build-and-serve http://localhost:3333 'npm run cypress:run'",
"test-perf": "start-server-and-test perf-studio http://localhost:3344 'ts-node -r dotenv/config perf/suite'",
"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": "node_modules/.bin/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": "npm run bootstrap",
"vercel-build": "npm run build:js && cd examples/test-studio && npm run build -- -y",
"type-check": "tsc -b ./packages --force",
"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/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",
"@types/node": "^14.14.22",
"@types/puppeteer": "^5.4.2",
"@types/react": "^17.0.0",
"@types/styled-components": "^5.1.7",
"@typescript-eslint/eslint-plugin": "^4.1.0",
"@typescript-eslint/parser": "^4.1.0",
"@vercel/node": "^1.8.3",
"babel-eslint": "^10.1.0",
"babel-jest": "^24.9.0",
"babel-loader": "^8.0.6",
"babel-plugin-istanbul": "^5.2.0",
"babel-plugin-lodash": "^3.3.4",
"boxen": "^4.1.0",
"chalk": "^2.3.0",
"cypress": "^6.3.0",
"cypress-dotenv": "^1.2.2",
"deepmerge": "^3.3.0",
"del": "^5.1.0",
"depcheck": "^1.4.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": "^1.0.0",
"git-repo-info": "^2.1.1",
"glob": "^7.1.2",
"globby": "^9.2.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",
"lerna": "^3.16.4",
"lodash": "^4.17.15",
"merge-stream": "^2.0.0",
"minimist": "^1.2.0",
"path-exists-cli": "^1.0.0",
"pre-commit": "^1.2.2",
"prettier": "2.1.2",
"puppeteer": "^5.5.0",
"rimraf": "^2.7.1",
"semver": "^6.1.2",
"start-server-and-test": "^1.11.7",
"stylelint": "^13.4.1",
"stylelint-config-prettier": "^8.0.1",
"stylelint-prettier": "^1.1.2",
"typescript": "^4.1.3",
"yarn": "^1.3.2"
},
"husky": {
"hooks": {
"commitmsg": "node scripts/validateCommitMessage.js"
}
}
}