-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
79 lines (79 loc) · 2.78 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
{
"version": "0.1.0",
"description": "Collection of UI components used in Lundegaard projects",
"repository": "https://github.com/lundegaard/lundium.git",
"private": true,
"contributors": [
"Tomas Konrady <[email protected]>",
"Vaclav Jancarik <[email protected]>",
"Martin Machacek <[email protected]>",
"Veronika Wernerova <[email protected]"
],
"license": "MIT",
"workspaces": [
"packages/*",
"apps/*"
],
"engines": {
"node": ">=12"
},
"scripts": {
"@build": "----- COMMANDS TO BUILD WHOLE LIBRARY -----",
"build": "yarn build:lundium-components && yarn build:lundium-theme-basic && yarn build:lundium-locale && yarn build:storybook",
"build:lundium-components": "yarn lundium build",
"build:lundium-locale": "yarn locale build",
"build:lundium-theme-basic": "yarn theme-basic build",
"build:storybook": "yarn storybook build",
"prepublish": "yarn build",
"@other": "----- OTHER SCRIPTS -----",
"start": "yarn storybook start",
"generate": "plop --plopfile \"./.plop/plopfile.js\"",
"lint": "yarn lint:js && yarn lint:css",
"lint:js": "eslint --cache --ignore-path .gitignore --ext .js ./",
"lint:css": "stylelint \"**/*.scss\" --cache --cache-location \".stylelintcache/\" --allow-empty-input",
"prettier": "prettier --write --ignore-path .gitignore \"**/*.{js,mdx,md,html,json}\"",
"test": "jest",
"locale": "yarn workspace @lundium/locale",
"lundium": "yarn workspace lundium",
"storybook": "yarn workspace @lundium/storybook",
"theme-basic": "yarn workspace @lundium/theme-basic",
"analyze": "yarn create-stats && webpack-bundle-analyzer ./stats.json ./packages/lundium/dist",
"create-stats": "NODE_ENV=analyze webpack --profile --json > stats.json",
"prepare": "husky install"
},
"devDependencies": {
"@babel/core": "^7.8.3",
"@wojtekmaj/enzyme-adapter-react-17": "^0.6.3",
"@babel/eslint-parser": "7.15.0",
"@babel/eslint-plugin": "7.14.5",
"@babel/preset-env": "^7.15.0",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.0.6",
"babel-plugin-ramda": "^2.0.0",
"babel-preset-react-union": "^0.20.0",
"cross-env": "^7.0.0",
"enzyme": "^3.11.0",
"enzyme-to-json": "^3.4.4",
"eslint": "^7.32.0",
"eslint-config-lundegaard": "^0.1.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-react-union": "^0.20.0",
"eslint-plugin-babel": "^5.3.0",
"eslint-plugin-import": "2.24.2",
"eslint-plugin-react": "^7.18.3",
"eslint-plugin-react-hooks": "^4.2.0",
"husky": "^7.0.0",
"jest": "^27.2.1",
"lerna": "^4.0.0",
"lint-staged": "^11.1.2",
"plop": "^2.5.4",
"prettier": "1.19.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"stylelint": "^13.2.0",
"stylelint-scss": "^3.14.2",
"webpack": "^4.41.5",
"webpack-bundle-analyzer": "^4.4.2",
"webpack-cli": "^4.8.0"
}
}