-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
83 lines (83 loc) · 4.05 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
{
"name": "@content-ui/dev",
"version": "0.0.1",
"private": true,
"scripts": {
"app:demo:start": "npm run start -w @content-ui/dev-demo",
"app:demo:build": "npm run build -w @content-ui/dev-demo",
"server:feed:start": "npm run start-dev -w @content-ui/dev-server-feed",
"server:feed:build": "npm run build -w @content-ui/dev-server-feed",
"server:feed:webpack": "cross-env NODE_ENV=development webpack --mode=development --config server/feed/webpack.config.js",
"clean": "rimraf dist && rimraf coverage && rimraf apps/demo/build && rimraf apps/sandbox/dist && rimraf server/feed/build",
"clean-modules": "rimraf --glob apps/*/node_modules && rimraf --glob packages/*/node_modules && rimraf --glob server/*/node_modules",
"predev": "npm run clean",
"lint": "cross-env NODE_ENV=test NODE_OPTIONS=\"--max-old-space-size=8192 --no-deprecation --experimental-vm-modules --unhandled-rejections=strict\" eslint -c=.eslintrc --ext=.tsx,.ts --max-warnings=0 'apps' 'packages'",
"test": "npm run jest -- -c=\"jest.config.ts\" --passWithNoTests",
"jest": "cross-env NODE_ENV=development NODE_OPTIONS=\"--max-old-space-size=8192 --no-warnings --no-deprecation --experimental-vm-modules --unhandled-rejections=strict\" jest",
"tdd": "cross-env NODE_ENV=development npm test -- --watch --coverage=false",
"dev": "concurrently --kill-others \"npm run app:demo:start\" \"npm run server:feed:start\"",
"prebuild": "npm run clean && npm run lint && npm run test && npm run tsc",
"tsc": "tsc --project tsconfig.json --noEmit",
"tsgen": "tsc --project tsconfig.packages.json --emitDeclarationOnly --pretty",
"build": "npm run app:demo:build && npm run server:feed:build && npm run build-packages && npm run build -w content-ui-sandbox",
"postbuild": "rimraf --glob dist/**/tests",
"webpack": "cross-env NODE_ENV=production webpack --mode=production",
"webpack-dev-server": "cross-env NODE_ENV=development webpack-dev-server --mode=development --hot",
"build-packages": "npm run tsgen && npm run babel-packages",
"babel-packages": "cross-env NODE_ENV=node babel packages -d dist --extensions \".ts,.js,.jsx,.tsx\" --copy-files",
"licenses-all": "license-checker --json --out licenses.json && node view-licenses.js",
"licenses": "npm run licenses-all -- --production"
},
"type": "module",
"license": "MIT",
"dependencies": {
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-router": "^6.26.2",
"react-router-dom": "^6.26.2",
"typescript": "~5.3.3"
},
"devDependencies": {
"@babel/cli": "^7.25.6",
"@babel/core": "^7.25.2",
"@babel/eslint-parser": "^7.25.1",
"@babel/preset-env": "^7.25.4",
"@babel/preset-react": "^7.24.7",
"@babel/preset-typescript": "^7.24.7",
"@jest/types": "^29.6.3",
"@testing-library/jest-dom": "^6.5.0",
"@testing-library/react": "^16.0.1",
"@types/node": "^18.19.50",
"@types/react": "^18.3.8",
"@types/react-dom": "^18.3.0",
"@types/react-helmet": "^6.1.11",
"@typescript-eslint/eslint-plugin": "^8.7.0",
"@typescript-eslint/parser": "^8.7.0",
"babel-jest": "^29.7.0",
"concurrently": "^9.0.1",
"cross-env": "^7.0.3",
"dotenv": "^16.4.5",
"eslint": "^8.57.1",
"eslint-plugin-deprecation": "^3.0.0",
"eslint-plugin-react": "^7.36.1",
"eslint-plugin-react-hooks": "^4.6.2",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"license-checker": "^25.0.1",
"rimraf": "^5.0.10",
"ts-jest": "^29.2.5",
"ts-node": "^10.9.2"
},
"workspaces": {
"packages": [
"./apps/demo",
"./apps/sandbox",
"./server/feed",
"./packages/input",
"./packages/md",
"./packages/md-mui",
"./packages/react",
"./packages/struct"
]
}
}