forked from LifeSG/web-frontend-engine
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
129 lines (129 loc) · 4.02 KB
/
package.json
File metadata and controls
129 lines (129 loc) · 4.02 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
120
121
122
123
124
125
126
127
128
129
{
"name": "@lifesg/web-frontend-engine",
"version": "1.0.0-alpha.4",
"description": "A frontend engine for LifeSG React apps",
"main": "dist/cjs/index.js",
"module": "dist/index.js",
"typings": "dist/index.d.ts",
"scripts": {
"build": "npm run rollup && npm run post:build",
"build-watch": "rollup -c -w",
"build-storybook": "build-storybook",
"build-check": "npm run rollup",
"post:build": "node ./scripts/post-build.js",
"publish-lib": "npm publish ./dist",
"rollup": "rm -rf dist && rollup -c",
"test": "jest --config jest/jest.config.js --coverage --runInBand",
"test-watch": "jest --config jest/jest.config.js --watch",
"lint": "eslint '*/**/*.{js,jsx,ts,tsx}' --quiet --fix",
"storybook": "start-storybook -p 6006 -c .storybook",
"prepare": "(test -d ./.git && npx husky install) || true"
},
"repository": {
"type": "git",
"url": "git+https://github.com/LifeSG/web-frontend-engine.git"
},
"keywords": [
"frontend-engine"
],
"author": "LifeSG",
"license": "ISC",
"bugs": {
"url": "https://github.com/LifeSG/web-frontend-engine/issues"
},
"homepage": "https://github.com/LifeSG/web-frontend-engine#readme",
"dependencies": {
"@hookform/resolvers": "^2.9.8",
"@js-joda/core": "^5.4.2",
"@js-joda/locale_en-us": "^4.8.6",
"@js-joda/timezone": "^2.15.0",
"country-code-lookup": "^0.0.20",
"libphonenumber-js": "^1.10.14",
"lodash": "^4.17.21",
"react-hook-form": "^7.34.2",
"sanitize-html": "^2.8.1",
"use-deep-compare-effect": "^1.8.1",
"yup": "^0.32.11"
},
"peerDependencies": {
"@lifesg/react-design-system": "^1.0.2",
"react": "^17.0.2 || ^18.0.0",
"react-dom": "^17.0.2 || ^18.0.0",
"styled-components": "^5.3.5"
},
"devDependencies": {
"@babel/core": "^7.19.3",
"@babel/preset-env": "^7.19.3",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.18.6",
"@lifesg/react-design-system": "^1.0.2",
"@rollup/plugin-commonjs": "^22.0.2",
"@rollup/plugin-image": "^2.1.1",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^14.1.0",
"@storybook/addon-a11y": "^6.5.12",
"@storybook/addon-actions": "^6.5.12",
"@storybook/addon-essentials": "^6.5.12",
"@storybook/addon-interactions": "^6.5.12",
"@storybook/addon-links": "^6.5.12",
"@storybook/builder-webpack5": "^6.5.12",
"@storybook/manager-webpack5": "^6.5.12",
"@storybook/react": "^6.5.12",
"@storybook/testing-library": "^0.0.13",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^12.1.5",
"@types/jest": "^29.2.1",
"@types/lodash": "^4.14.185",
"@types/node": "^18.8.2",
"@types/react": "^18.0.21",
"@types/react-dom": "^18.0.6",
"@types/sanitize-html": "^2.8.0",
"@types/styled-components": "^5.1.26",
"@typescript-eslint/eslint-plugin": "^5.39.0",
"@typescript-eslint/parser": "^5.39.0",
"babel-loader": "^8.2.5",
"eslint": "^8.24.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-jest": "^27.1.3",
"eslint-plugin-jsx-a11y": "^6.6.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.31.8",
"eslint-plugin-react-hooks": "^4.6.0",
"husky": "^8.0.1",
"jest": "^29.1.2",
"jest-canvas-mock": "^2.4.0",
"jest-environment-jsdom": "^29.2.2",
"lint-staged": "^13.0.3",
"postcss": "^8.4.17",
"postcss-import": "^15.0.0",
"prettier": "^2.7.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"rollup": "^2.79.1",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.34.1",
"style-loader": "^3.3.1",
"styled-components": "^5.3.5",
"typescript": "^4.8.4"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"npm run lint"
]
},
"overrides": {
"debug@<3.1.0": "3.1.0",
"glob-parent@<5.1.2": "5.1.2",
"json5@<2.2.2": "2.2.2",
"loader-utils@>=1.0.0 <1.4.2": "1.4.2",
"loader-utils@>=2.0.0 <2.0.4": "2.0.4",
"loader-utils@>=3.0.0 <3.2.1": "3.2.1",
"nth-check@<2.0.1": "2.0.1",
"postcss@>= 8.0.0 < 8.2.13": "8.4.17",
"postcss@<7.0.36": "8.4.17",
"trim-newlines@<3.0.1": "3.0.1",
"trim-newlines@4.0.0": "4.0.1",
"trim@<0.0.3": "0.0.3"
}
}