-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
74 lines (74 loc) · 2.47 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
{
"private": true,
"workspaces": [
"packages/*"
],
"repository": "https://github.com/dividab/abstract-visuals",
"devDependencies": {
"@storybook/addon-actions": "^8.1.1",
"@storybook/addon-links": "^8.1.1",
"@storybook/react": "^8.1.1",
"@testing-library/react": "^15.0.7",
"@types/enzyme": "^3.10.18",
"@types/jest": "^29.5.12",
"@types/node": "^20.12.12",
"@typescript-eslint/eslint-plugin": "^6.9.0",
"@typescript-eslint/parser": "^6.9.0",
"confusing-browser-globals": "^1.0.11",
"copy-webpack-plugin": "^12.0.2",
"enzyme": "^3.11.0",
"@cfaester/enzyme-adapter-react-18": "^0.8.0",
"eslint": "^8.52.0",
"eslint-config-divid": "^0.7.1",
"eslint-plugin-functional": "^4.2.0",
"eslint-plugin-import": "^2.29.0",
"html-webpack-plugin": "^5.6.0",
"husky": "^0.14.3",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"lerna": "^3.22.1",
"lint-staged": "^10.5.4",
"node-polyfill-webpack-plugin": "^3.0.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.2.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"ts-jest": "^29.1.2",
"ts-loader": "^9.5.1",
"typescript": "^5.4.5",
"webpack": "^5.91.0",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^5.0.4"
},
"scripts": {
"precommit": "lint-staged",
"publish-npm": "run-s verify && lerna publish",
"verify": "run-s lint build test",
"updated": "lerna updated",
"test": "jest",
"test-coverage": "jest --coverage",
"test:abstract-image": "jest --projects packages/abstract-image",
"test:abstract-document": "jest --projects packages/abstract-document",
"lint": "eslint ./packages/*/src/**/*.ts{,x} --ext .js,.ts,.tsx -f visualstudio",
"clean": "tsc -b packages --clean && rm -rf packages/*/lib",
"rebuild": "run-s clean build",
"build": "tsc -b packages",
"build-watch": "tsc -b -w --preserveWatchOutput packages",
"start": "cd packages/abstract-visuals-example && webpack-cli serve ./src",
"dist": "cd packages/abstract-visuals-example && webpack",
"storybook": "start-storybook -p 6006 --ci",
"build-storybook": "build-storybook",
"clean-node-modules": "rm -rf node_modules && rm -rf ./packages/*/node_modules"
},
"lint-staged": {
"*.{ts,tsx}": "eslint --ext .ts,.tsx -f visualstudio",
"*.{ts,tsx,js,json,css,md}": [
"prettier --write"
]
},
"prettier": {
"printWidth": 120,
"trailingComma": "es5",
"arrowParens": "always"
}
}