-
Notifications
You must be signed in to change notification settings - Fork 58
/
package.json
148 lines (148 loc) · 7.08 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
{
"name": "bodiless-js",
"description": "Bodiless-JS",
"version": "1.0.0-rc.23",
"keywords": [
"gatsby"
],
"license": "Apache-2.0",
"scripts": {
"bootstrap": "npm run clean:symlinks && npx lerna@^5.0.0 bootstrap --hoist --strict && patch-package",
"bootstrap:gatsby-cloud": "npm i && npx lerna@^5.0.0 bootstrap",
"build": "cross-env NODE_ENV=production lerna run build --stream --ignore @bodiless/gatsby-starter-bodiless",
"build:only": "cross-env NODE_ENV=production lerna run build --stream --scope",
"build:packages": "cross-env NODE_ENV=production lerna run build --stream --ignore @sites/*",
"build:watch": "cross-env NODE_ENV=development lerna run build:watch --parallel",
"build:env-vars": "cross-env NODE_ENV=production lerna run build:env-vars --stream",
"build:tailwind-configs": "cross-env NODE_ENV=production lerna run build:tailwind-configs --stream",
"build:docs": "cross-env NODE_ENV=production lerna run build:docs --stream",
"build:api-doc": "cross-env NODE_ENV=production lerna run build:api-doc --stream",
"check": "cross-env NODE_ENV=production lerna run check --stream",
"clean": "lerna run clean && rimraf .eslintcache sites/*/.env.development sites/*/.env.production",
"clean:symlinks": "node ./scripts/remove-site-symlinks @bodiless",
"cy:run": "cypress run --browser chrome --record --key 0dcfb624-e152-453a-9375-aa710adb57ab",
"cy:open": "cypress open",
"cypress": "run-p -r start cy:open",
"copyright": "node ./scripts/add-copyright",
"fix": "eslint --fix --cache --ext .js,.jsx,.ts,.tsx packages sites",
"fix:target": "eslint --fix --cache --ext .js,.jsx,.ts,.tsx",
"fix:change": "git diff --name-only --diff-filter=d master... | grep -e 'tsx$' -e 'jsx$' -e 'js$' -e 'ts$' | xargs -L 1 npm run fix:target",
"fresh": "npm run clean && lerna clean -y && rimraf node_modules && npm run setup",
"lint": "eslint --cache --ext .js,.jsx,.ts,.tsx packages sites playwright --",
"lint:target": "eslint --cache --ext .js,.jsx,.ts,.tsx",
"lint:change": "git diff --name-only --diff-filter=d master... | grep -e 'tsx$' -e 'jsx$' -e 'js$' -e 'ts$' | xargs -L 1 npm run lint:target",
"new": "node ./scripts/new-starter",
"publish:all": "npm run build && lerna publish --registry $NPM_REGISTRY",
"publish:from-package": "npm run build && lerna publish from-package --registry $NPM_REGISTRY",
"publish:patch": "lerna version patch --conventional-commits --force-publish",
"publish:minor": "lerna version minor --conventional-commits",
"publish:major": "lerna version major --conventional-commits",
"lerna:publish": "lerna publish from-git --yes --dist-tag latest",
"lerna:canary": "lerna publish --canary --include-merged-tags --preid ks-canary --dist-tag ks-canary --force-publish",
"pw:run": "npx playwright test playwright/tests/smoke-deprecated/* --project=chromium --workers 1",
"playwright:run": "npx playwright test playwright/tests/smoke/* --project=chromium --workers 3",
"psh:setup-starter": "node ./scripts/psh-setup-starter",
"serve": "lerna run serve --scope @sites/${APP_SITE_NAME:-test-site} --stream",
"setup": "npm run bootstrap && npm run build:packages",
"setup:gatsby-cloud": "npm run bootstrap:gatsby-cloud && npm run build:packages",
"sites:pack": "lerna exec --no-private --stream -- npm pack",
"sites:clone-local": "node ./scripts/sites-clone",
"sites:install": "node ./scripts/sites-install",
"sites:update": "npm run sites:pack && npm run sites:install",
"sites:launch-test": "npm run sites:clone-local ${APP_SITE_DIR_NAME:-test-site} && npm run sites:update ${APP_SITE_DIR_NAME:-test-site} && cd sites/${APP_SITE_DIR_NAME:-test-site} && npm install --legacy-peer-deps && npm run start",
"sites:launch-monorepo": "cd sites/${APP_SITE_DIR_NAME:-test-site} && npm run start",
"sites:launch-vital": "cd sites/vital-demo && npm run serve:test",
"start": "lerna run start --stream --scope @sites/${APP_SITE_NAME:-test-site}",
"sync:fix": "syncpack fix-mismatches",
"sync:check": "syncpack list-mismatches",
"test": "jest",
"test:monorepo-pw": "WAIT_ON_TIMEOUT=600000 start-server-and-test sites:launch-monorepo http://localhost:8005 pw:run",
"test:ci": "WAIT_ON_TIMEOUT=600000 start-server-and-test sites:launch-test http://localhost:8005 cy:run",
"test:monorepo": "WAIT_ON_TIMEOUT=600000 start-server-and-test sites:launch-monorepo http://localhost:8005 cy:run",
"test:watch": "jest --watch",
"test:playwright": "APPLITOOLS_BATCH_ID=`uuidgen` WAIT_ON_TIMEOUT=600000 start-server-and-test sites:launch-vital http://localhost:8005 playwright:run"
},
"husky": {
"hooks": {
"pre-push": "npm run sync:check && npm run lint && npm run check"
}
},
"dependencies": {
"@types/html2canvas": "0.0.35",
"complexity-report": "^2.0.0-alpha",
"cypress": "^4.11.0",
"cypress-failed-log": "^2.6.0",
"debug": "^4.1.1",
"html2canvas": "^1.0.0-rc.3",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"start-server-and-test": "^1.12.0",
"symlink-dir": "^3.0.3"
},
"devDependencies": {
"@babel/core": "^7.9.0",
"@babel/plugin-proposal-decorators": "^7.4.0",
"@babel/plugin-transform-modules-commonjs": "7.5.0",
"@babel/runtime": "^7.4.2",
"@applitools/eyes-playwright": "^1.13.0",
"@playwright/test": "^1.29.1",
"@types/enzyme": "^3.9.1",
"@types/jest": "^24.0.18",
"@types/lodash": "^4.14.158",
"@types/rc-tooltip": "^3.7.1",
"@types/react-dom": "^17.0.2",
"@types/react": "^17.0.39",
"@types/slate": "^0.47.9",
"@types/uuid": "^3.4.4",
"@typescript-eslint/eslint-plugin": "^5.9.1",
"@typescript-eslint/parser": "^5.9.1",
"@wojtekmaj/enzyme-adapter-react-17": "^0.6.3",
"axios": "^0.21.0",
"babel-eslint": "^10.0.1",
"babel-jest": "^24.9.0",
"cross-env": "^5.2.0",
"cypress-file-upload": "^5.0.8",
"cypress-xpath": "^1.4.0",
"docsify-cli": "^4.3.0",
"dotenv": "^8.2.0",
"enzyme": "^3.9.0",
"enzyme-to-json": "^3.3.5",
"eslint": "^7.27.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-config-airbnb-typescript": "^16.1.0",
"eslint-config-prettier": "^4.2.0",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-jest": "^23.8.2",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-prettier": "^3.0.1",
"eslint-plugin-react": "^7.19.0",
"fs-extra": "^8.1.0",
"glob": "^7.1.6",
"husky": "^3.0.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^26.6.3",
"jest-haste-map": "^24.5.0",
"jest-resolve": "^24.5.0",
"jest-sonar-reporter": "^2.0.0",
"lerna": "^5.0.0",
"npm-run-all": "^4.1.5",
"ora": "^4.0.2",
"react-test-renderer": "^17.0.2",
"rimraf": "^2.6.3",
"syncpack": "^6.2.0",
"ts-jest": "^26.4.4",
"tslint": "^5.12.1",
"tslint-config-airbnb": "^5.11.1",
"typedoc": "^0.22.6",
"typedoc-plugin-markdown": "^3.11.3",
"typescript": "^4.0.0",
"patch-package": "^6.5.1"
},
"repository": {
"type": "git",
"url": "https://github.com/johnsonandjohnson/bodiless-js.git"
},
"engines": {
"node": ">=16.9"
}
}