-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
65 lines (65 loc) · 2.17 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
{
"name": "@searchspring/snap",
"private": true,
"type": "module",
"workspaces": [
"packages/*",
"packages/snapps/*"
],
"scripts": {
"commit": "cz",
"build": "lerna run build",
"build:docs": "lerna exec --stream --parallel 'npm run build:docs' && npm run build:feed",
"build:feed": "node ./docs/generateFeed.js",
"build:metrics": "node ./metrics/generate",
"test": "jest",
"posttest": "npm run test --workspace=@searchspring/snap-preact-demo",
"dev": "lerna exec --parallel --stream 'npm run dev'",
"dev:docs": "http-server ./ -p 1111",
"lint": "npm run lint --workspaces",
"clean": "npm run clean:coverage && npm run clean:docs && npm run clean:packages && npm run clean:cache",
"clean:cache": "rm -rf ./node_modules/.cache/nx",
"clean:coverage": "lerna exec --parallel --stream 'rm -rf ./coverage'",
"clean:docs": "lerna exec --parallel --stream 'rm -rf ./docs'",
"clean:packages": "lerna exec --parallel --stream 'rm -rf ./node_modules package-lock.json' && rm -rf ./node_modules package-lock.json",
"format": "lerna exec --parallel --stream 'npm run format'",
"storybook:preact": "npm run storybook --workspace=@searchspring/snap-preact-components",
"publish": "lerna publish --conventional-commits --no-git-reset --no-verify-access --force-publish --yes --create-release github",
"prepare": "husky install"
},
"prettier": "@searchspring/prettier",
"devDependencies": {
"@searchspring/prettier": "1.0.2",
"@searchspring/snapi-types": "^0.1.32",
"@types/jest": "27.5.1",
"@types/jsdom": "20.0.0",
"@typescript-eslint/eslint-plugin": "5.48.0",
"@typescript-eslint/parser": "5.48.0",
"cz-conventional-changelog": "3.3.0",
"eslint": "8.31.0",
"eslint-config-prettier": "8.6.0",
"http-server": "14.1.0",
"husky": "7.0.4",
"jest": "27.5.1",
"nx": "^15.4.4",
"jsdom": "20.0.0",
"lerna": "^6.3.0",
"lint-staged": "12.4.1",
"prettier": "2.6.2",
"standard-version": "9.5.0",
"ts-jest": "27.1.5",
"typedoc": "0.22.15",
"typescript": "4.6.4",
"whatwg-fetch": "3.6.2"
},
"lint-staged": {
"*.{js,ts,tsx}": [
"prettier --write"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}