-
Notifications
You must be signed in to change notification settings - Fork 64
/
package.json
158 lines (158 loc) · 4.91 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
{
"name": "@ticketmaster/aurora",
"version": "0.0.0-semantically-released",
"description": "Shared UI Library for Ticketmaster",
"keywords": [
"react",
"styled-components",
"design-system",
"ui-library",
"ticketmaster"
],
"main": "dist/index.cjs.js",
"types": "lib/index.d.ts",
"jsnext:main": "dist/index.es.js",
"module": "dist/index.es.js",
"files": [
"dist",
"lib"
],
"license": "MIT",
"scripts": {
"build": "npm run build:dev && npm run build:prod",
"build:dev": "rollup -c config/rollup.dev.config.js && npm run tsc:declaration",
"build:prod": "rollup -c config/rollup.prod.config.js && npm run tsc:declaration",
"catalog-start": "NODE_ENV=development catalog start",
"catalog-build": "catalog build -u \"/aurora\"",
"lint": "eslint \"{src,catalog}/**/*.{js,jsx,ts,tsx}\"",
"lint:css": "stylelint \"{src,catalog}/**/*.{js,jsx}\"",
"test": "NODE_ENV=test jest",
"test:watch": "NODE_ENV=test jest --watch --no-cache",
"test:cover": "NODE_ENV=test jest --coverage",
"test:ci": "NODE_ENV=test jest --runInBand",
"add-icons": "pixo $* --out-dir src/components/Icons",
"tsc:declaration": "tsc -p tsconfig.declaration.json",
"posttsc:declaration": "node -e 'require(\"./scripts/declarejs\").generateStubTypings()'"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"prettier --write",
"git add",
"eslint",
"stylelint \"{src,catalog}/**/*.{js,jsx}\"",
"jest --bail --findRelatedTests --no-cache"
],
"*.{json,md}": [
"prettier --write",
"git add"
]
},
"jest": {
"testURL": "http://localhost/",
"testEnvironment": "jsdom",
"setupFilesAfterEnv": [
"./config/jest.config.js"
],
"collectCoverageFrom": [
"src/**/*.js"
],
"coverageThreshold": {
"global": {
"branches": 92,
"functions": 92,
"lines": 92,
"statements": 92
}
}
},
"peerDependencies": {
"classnames": ">=2",
"prop-types": ">=15",
"react": ">=16",
"react-dom": ">=16",
"react-transition-group": ">=3",
"styled-components": ">=4"
},
"devDependencies": {
"@babel/core": "^7.0.0-0",
"@babel/plugin-external-helpers": "^7.0.0",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"@babel/plugin-proposal-decorators": "^7.0.0",
"@babel/plugin-proposal-export-namespace-from": "^7.0.0",
"@babel/plugin-proposal-function-sent": "^7.0.0",
"@babel/plugin-proposal-json-strings": "^7.0.0",
"@babel/plugin-proposal-numeric-separator": "^7.0.0",
"@babel/plugin-proposal-throw-expressions": "^7.0.0",
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
"@babel/plugin-syntax-import-meta": "^7.0.0",
"@babel/preset-env": "~7.1.4",
"@babel/preset-react": "^7.0.0",
"@babel/preset-typescript": "^7.3.3",
"@types/jest": "^24.0.15",
"@types/react": "^16.9.34",
"@types/react-dom": "^16.9.7",
"@types/styled-components": "^5.1.0",
"@typescript-eslint/eslint-plugin": "^1.12.0",
"@typescript-eslint/parser": "^1.12.0",
"babel-cli": "^7.0.0-beta.3",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^9.0.0",
"babel-jest": "^23.4.2",
"babel-plugin-styled-components": "^1.10.7",
"babel-plugin-transform-react-remove-prop-types": "^0.4.20",
"catalog": "https://github.com/nyonchev/catalog",
"classnames": "^2.2.5",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.2",
"eslint": "6.0.0-alpha.0",
"eslint-config-airbnb": "^16.1.0",
"eslint-config-prettier": "^2.9.0",
"eslint-plugin-import": "^2.11.0",
"eslint-plugin-jsx-a11y": "^6.0.3",
"eslint-plugin-react": "^7.7.0",
"husky": "^1.1.2",
"jest": "^24",
"jest-styled-components": "^7.0.2",
"lint-staged": "^7.0.4",
"pixo": "^1.1.0",
"prettier": "^1.12.1",
"prop-types": "^15.6.1",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-test-renderer": "^16.13.1",
"react-testing-library": "^3.1.3",
"react-transition-group": "^4.4.1",
"regenerator-runtime": "^0.13.2",
"rollup": "^1.6.0",
"rollup-plugin-babel": "^4.3.2",
"rollup-plugin-node-resolve": "^4.0.1",
"rollup-plugin-terser": "^4.0.4",
"styled-components": "^5.1.0",
"stylelint": "9.6.0",
"stylelint-config-recommended": "^2.1.0",
"stylelint-config-styled-components": "^0.1.1",
"stylelint-processor-styled-components": "1.3.2",
"typescript": "^3.5.3"
},
"resolutions": {
"babel-core": "7.0.0-bridge.0",
"istanbul-reports": "^2.1.1",
"js-yaml": "^3.13.1",
"lodash": "~4.17.14",
"merge": "~1.2.1"
},
"homepage": "https://code.ticketmaster.com/aurora/",
"repository": {
"type": "git",
"url": "https://github.com/Ticketmaster/aurora.git"
},
"bugs": {
"url": "https://github.com/Ticketmaster/aurora/issues"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"browserslist": "> 0.2% in US"
}