-
Notifications
You must be signed in to change notification settings - Fork 19
/
package.json
180 lines (180 loc) · 6.83 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
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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
{
"name": "glints-aries",
"version": "4.1.13",
"description": "Glints ui-kit for frontend",
"main": "./lib/index.js",
"module": "./es/index.js",
"sideEffects": false,
"engines": {
"node": ">=14"
},
"scripts": {
"build": "npm run build:icon && npm run build:next:icon && npm run build:lib && npm run build:es && npm run build:ts",
"build:lib": "rm -rf lib && babel src -d lib --extensions .ts,.tsx --ignore .storybook/**/*,src/**/*.test.tsx,src/**/*.test.ts,src/**/*.spec.tsx,src/**/*.spec.ts,src/**/*.stories.tsx",
"build:es": "rm -rf es && cross-env BABEL_ENV=es babel src -d es --extensions .ts,.tsx --ignore .storybook/**/*,src/**/*.test.tsx,src/**/*.test.ts,src/**/*.spec.tsx,src/**/*.spec.ts,src/**/*.stories.tsx",
"build:ts": "tsc --project tsconfig.declaration.json -d --declarationDir lib && tsc --project tsconfig.declaration.json -d --declarationDir es",
"build:icon": "rm -rf src/General/Icon/components && babel-node --extensions .ts,.tsx src/Utils/Icon/generateIcons.ts && npm run format:icon",
"build:next:icon": "npx @svgr/cli --typescript --out-dir src/@next/Icon/components -- src/@next/Icon/icons",
"format:icon": "prettier --write src/General/Icon/components/*.tsx",
"imports": "babel-node --extensions .ts scripts/count-imports/index.ts",
"lint:fix": "npm run lint:ts:fix && npm run prettier:fix",
"lint": "npm run lint:css && npm run lint:ts && npm run prettier",
"lint:css": "stylelint '**/*Style.ts' --max-warnings=0",
"lint:ts:fix": "eslint '**/*.{ts,tsx}' --fix",
"lint:ts": "eslint '**/*.{ts,tsx}' --max-warnings=0",
"prettier": "prettier --check .",
"prettier:fix": "prettier --check --write .",
"test:update": "jest --env jsdom -u",
"test": "jest --env jsdom",
"coverage:src": "jest --coverage --collectCoverageFrom 'src/**/*.tsx' --coveragePathIgnorePatterns 'src/General/Icon/components/' --collectCoverageFrom='!src/**/*.stories.tsx' --collectCoverageFrom='!src/**/*StoryStyle.tsx' --collectCoverageFrom='!src/**/*StoriesHelpers.tsx' --collectCoverageFrom='!src/stories/story-components/**'",
"storybook": "start-storybook -p 6006",
"storybook:build": "rm -rf .out && npm run storybook:build:assets && npm run build:icon && npm run build:next:icon && build-storybook -o .out -s dist/public",
"storybook:build:test": "rm -rf storybook-static && npm run storybook:build:assets && npm run build:icon && npm run build:next:icon && build-storybook -o storybook-static -s dist/public",
"storybook:build:assets": "webpack",
"prepare": "husky install",
"check-definition-files": "node checkDefinitionFiles.js"
},
"author": "Glints",
"license": "MIT",
"private": false,
"keywords": [
"react",
"glints-aries",
"glints-uikit"
],
"bugs": {
"url": "https://github.com/glints-dev/glints-aries/issues"
},
"homepage": "http://aries.glints.design",
"files": [
"assets",
"es",
"lib",
"dist",
"*.d.ts"
],
"devDependencies": {
"@babel/cli": "^7.20.7",
"@babel/core": "^7.20.7",
"@babel/eslint-parser": "^7.19.1",
"@babel/node": "^7.20.7",
"@babel/plugin-transform-runtime": "^7.19.6",
"@babel/preset-env": "^7.20.2",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.18.6",
"@playwright/test": "^1.29.0",
"@storybook/addon-actions": "^6.5.15",
"@storybook/addon-essentials": "^6.5.15",
"@storybook/addon-links": "^6.5.15",
"@storybook/builder-webpack5": "^6.5.15",
"@storybook/manager-webpack5": "^6.5.15",
"@storybook/react": "^6.5.15",
"@svgr/cli": "^6.5.1",
"@testing-library/dom": "^8.11.3",
"@testing-library/jest-dom": "^5.16.2",
"@testing-library/react": "^11.2.7",
"@testing-library/user-event": "^13.5.0",
"@types/async": "^3.2.0",
"@types/body-scroll-lock": "^3.1.0",
"@types/jest": "^27.4.1",
"@types/lodash": "^4.14.188",
"@types/lodash-es": "^4.17.6",
"@types/node": "^12.12.7",
"@types/react": "^17.0.37",
"@types/react-dom": "^17.0.11",
"@types/react-test-renderer": "^17.0.1",
"@types/styled-components": "^5.1.1",
"@types/styled-system": "^5.1.10",
"@typescript-eslint/eslint-plugin": "^5.6.0",
"@typescript-eslint/parser": "^5.6.0",
"async": "^3.2.0",
"babel-plugin-styled-components": "^2.0.7",
"babel-plugin-transform-rename-import": "^2.3.0",
"babylon7": "npm:@babel/parser@^7",
"chromatic": "^5.4.0",
"create-index": "^2.4.0",
"cross-env": "^6.0.3",
"eslint": "^8.45.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jest": "^27.2.3",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"file-loader": "^6.2.0",
"fork-ts-checker-webpack-plugin": "^1.3.4",
"generate-changelog": "^1.7.1",
"glob": "^7.1.6",
"husky": "^8.0.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^27.5.1",
"jest-styled-components": "^7.0.2",
"lint-staged": "^13.1.2",
"lodash": "^4.17.21",
"lodash-es": "^4.17.21",
"prettier": "^3.0.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-is": "^17.0.2",
"react-test-renderer": "^17.0.2",
"start-server-and-test": "^1.15.2",
"styled-components": "^5.1.1",
"stylelint": "^10.0.1",
"stylelint-config-recommended": "^2.2.0",
"stylelint-config-styled-components": "^0.1.1",
"stylelint-processor-styled-components": "^1.8.0",
"typescript": "^4.5.2",
"webpack": "^5.75.0",
"webpack-assets-manifest": "^3.1.1",
"webpack-cli": "^5.0.1",
"webpack-glob-entry": "2.1.1"
},
"dependencies": {
"body-scroll-lock": "^3.1.5",
"classnames": "^2.2.6",
"downshift": "^6.1.3",
"moment": "^2.24.0",
"polaris-glints": "^15.12.0",
"react-id-generator": "^3.0.1",
"styled-system": "^5.1.5"
},
"peerDependencies": {
"lodash-es": "^4.0.0",
"react": "^16.3.0 || ^17",
"react-dom": "^16.3.0 || ^17",
"styled-components": "^4.0.0 || ^5.0.0"
},
"jest": {
"moduleNameMapper": {
".+\\.(css|styl|less|sass|scss)$": "identity-obj-proxy",
".+\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/test/__mocks__/fileMock.js"
},
"transformIgnorePatterns": [
"node_modules/(?!lodash-es)",
"node_modules/(?!polaris-glints)"
],
"modulePathIgnorePatterns": [
"test/e2e/"
],
"setupFilesAfterEnv": [
"<rootDir>/jest.setup.ts"
]
},
"optionalDependencies": {
"@glints/poppins": "^1.0.2"
},
"resolutions": {
"immer": "^9.0.6",
"@types/react": "^17.0.37",
"@types/react-dom": "^17.0.11"
},
"lint-staged": {
"**/*.{ts,tsx}": [
"yarn lint:fix",
"yarn lint"
]
}
}