-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
119 lines (119 loc) · 4.05 KB
/
package.json
File metadata and controls
119 lines (119 loc) · 4.05 KB
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
{
"workspaces": {
"packages": [
"packages/*"
]
},
"homepage": "https://uikit.happeo.com/",
"private": true,
"author": "Happeo Oy",
"contributors": [
"Perttu Ristimella <perttu.ristimella@happeo.com>"
],
"license": "MIT",
"name": "happeouikit",
"version": "1.0.0",
"description": "Happeo Component Kit for React, this package holds multiple published packages",
"main": "index.js",
"scripts": {
"clear:dist": "lerna exec -- rm -rf dist",
"clear:dist:tests": "lerna exec -- rm -rf dist/__tests__ && lerna exec -- rm -rf dist/__mocks__",
"compile": " yarn clear:dist && NODE_ENV=production BABEL_ENV=production lerna exec -- babel --root-mode upward src -d dist && yarn clear:dist:tests",
"prebuild": "yarn intl:generate-messages",
"build": "yarn compile",
"build:docs": "yarn docz build",
"publish": "yarn build && lerna publish",
"publish:single": "yarn run clear:dist && yarn run cleaninstall && yarn build && node ./scripts/release/index.js",
"extract-messages": "BABEL_ENV=development babel ./packages/*/src/messages.js > /dev/null",
"prestart": "yarn extract-messages",
"start": "BABEL_ENV=development NODE_OPTIONS=--max_old_space_size=8192 yarn docz dev -p 4020",
"serve": "yarn docz serve",
"generate": "plop --plopfile scripts/generator/index.js",
"docs:deploy:draft": "netlify deploy --dir .docz/dist",
"docs:deploy": "netlify deploy --dir .docz/dist --prod",
"cleaninstall": "rm -rf ./.docz && rm -rf node_modules/ && lerna bootstrap",
"test": "jest",
"test:coverage": "yarn test -- --coverage --watch",
"intl:generate-messages": "lerna exec -- node ../../scripts/translations/generate-messages.js"
},
"keywords": [],
"devDependencies": {
"@babel/cli": "^7.0.0",
"@babel/core": "^7.10.2",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
"@babel/plugin-proposal-unicode-property-regex": "^7.4.4",
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
"@babel/plugin-transform-runtime": "^7.2.0",
"@babel/preset-env": "^7.10.2",
"@babel/preset-flow": "^7.0.0",
"@babel/preset-react": "^7.9.0",
"@svgr/cli": "6.2.1",
"@testing-library/jest-dom": "^5.13.0",
"@testing-library/react": "^11.2.7",
"babel-jest": "^29.4.1",
"babel-loader": "^8.3.0",
"babel-plugin-styled-components": "^1.10.7",
"chalk": "^2.4.1",
"eslint": "^7.10.0",
"eslint-config-airbnb": "^18.2.0",
"eslint-config-prettier": "^6.12.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-react": "^7.21.3",
"eslint-plugin-react-hooks": "^4.1.2",
"identity-obj-proxy": "^3.0.0",
"inquirer": "^6.2.0",
"jest": "^29.4.1",
"jest-environment-jsdom": "^29.5.0",
"lerna": "^6.4.1",
"lodash.camelcase": "^4.3.0",
"lodash.capitalize": "^4.2.1",
"lodash.kebabcase": "^4.1.1",
"lodash.upperfirst": "^4.3.1",
"netlify-cli": "4.1.7",
"plop": "^2.1.0",
"prettier": "^1.19.1",
"semver": "^5.6.0",
"style-loader": "2.0.0"
},
"dependencies": {
"@happeo/docs-tools": "^1.0.1",
"@universe/react-translations": "^1.1.0",
"babel-plugin-react-intl": "^3.1.1",
"docz": "2.1.1",
"prop-types": "^15.7.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-intl": "^3.12.0",
"react-router": "^5.2.0",
"react-router-dom": "^5.2.0",
"styled-components": "^5.3.1"
},
"resolutions": {
"minimist": "1.2.6",
"loader-utils": "2.0.4"
},
"publishConfig": {
"access": "public"
},
"jest": {
"rootDir": ".",
"modulePathIgnorePatterns": [
".docz"
],
"moduleNameMapper": {
".+\\.(png|jpg|css)$": "identity-obj-proxy",
"@happeouikit/(.*)": "<rootDir>/packages/$1/src"
},
"transformIgnorePatterns": [
"<rootDir>/node_modules/(?!(@universe|@happeouikit|@happeokit)).+\\.js$"
],
"testEnvironment": "jsdom"
},
"prettier": {
"trailingComma": "es5",
"arrowParens": "always"
}
}