-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
84 lines (84 loc) · 2.85 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
{
"private": true,
"name": "@uplift-ltd/nexus-workspace",
"version": "0.1.0",
"description": "Uplift's front end core library.",
"license": "MIT",
"homepage": "https://nexus.uplift.ltd/",
"publishConfig": {
"registry": "https://npm.pkg.github.com/",
"access": "restricted"
},
"repository": {
"type": "git",
"url": "git+https://github.com/uplift-ltd/nexus.git"
},
"scripts": {
"build": "run-s build:clean build:nexus build:packages",
"build:clean": "git clean -dfx packages/*/cjs/ packages/*/esm/",
"build:nexus": "lerna run --scope @uplift-ltd/nexus build && :",
"build:packages": "lerna run --ignore @uplift-ltd/nexus build",
"test": "lerna run test",
"check-types": "lerna run check-types",
"prettier:check": "prettier --list-different \"packages/*/*.md\" \"packages/*/src/**/*.{js,jsx,ts,tsx,json,md,css,scss}\"",
"prettier:write": "prettier --write \"packages/*/*.md\" \"packages/*/src/**/*.{js,jsx,ts,tsx,json,md,css,scss}\"",
"eslint:check": "eslint packages --ext .js,.jsx,.ts,.tsx --cache",
"eslint:fix": "eslint packages --ext .js,.jsx,.ts,.tsx --cache --fix",
"update-docs": "cd website && npm run update-docs",
"docs": "cd website && npm start",
"prepare": "husky install"
},
"workspaces": [
"packages/*"
],
"lint-staged": {
"*.{js,jsx,ts,tsx,json,md,css,scss}": [
"prettier --write"
],
"packages/nexus/src/**/*.{js,jsx,ts,tsx,json}": [
"npm run build:nexus",
"git add packages/nexus/cjs/ packages/nexus/esm/"
],
"*.md": [
"npm run update-docs",
"git add ./website"
]
},
"devDependencies": {
"@babel/cli": "^7.20.7",
"@babel/core": "^7.20.12",
"@babel/preset-env": "^7.20.2",
"@babel/preset-typescript": "^7.10.4",
"@types/classnames": "^2.2.11",
"@types/jest": "^26.0.9",
"@typescript-eslint/eslint-plugin": "^5.50.0",
"@typescript-eslint/parser": "^5.50.0",
"babel-jest": "^29.4.1",
"classnames": "^2.2.6",
"conventional-changelog-conventionalcommits": "^4.5.0",
"eslint": "^8.39.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^8.10.0",
"eslint-config-react-app": "^7.0.1",
"eslint-import-resolver-typescript": "^3.5.5",
"eslint-plugin-flowtype": "^8.0.3",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-lodash": "^7.4.0",
"eslint-plugin-perfectionist": "^2.2.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.33.1",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-require-extensions": "^0.1.3",
"husky": "^8.0.0",
"jest": "^29.4.1",
"jest-fetch-mock": "^3.0.3",
"lerna": "^6.4.1",
"lint-staged": "^13.1.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"typescript": "^4.9.5"
}
}