-
Notifications
You must be signed in to change notification settings - Fork 63
/
Copy pathpackage.json
113 lines (113 loc) · 3.16 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
{
"name": "@ticketmaster/prism",
"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",
"jsnext:main": "dist/index.es.js",
"module": "dist/index.es.js",
"files": [
"dist"
],
"license": "MIT",
"scripts": {
"build": "npm run build:dev && npm run build:prod",
"build:dev": "rollup -c config/rollup.dev.config.js",
"build:prod": "rollup -c config/rollup.prod.config.js",
"catalog-start": "catalog start",
"catalog-build": "catalog build -u \"/prism\"",
"lint": "eslint \"{src,catalog}/**/*.{js,jsx}\"",
"lint:css": "stylelint \"{src,catalog}/**/*.{js,jsx}\"",
"precommit": "lint-staged",
"test": "jest",
"test:watch": "jest --watch --no-cache --notify",
"test:cover": "jest --coverage",
"add-icons": "pixo $* --out-dir src/components/Icons"
},
"lint-staged": {
"*.{js,jsx}": [
"prettier --write",
"git add",
"eslint",
"stylelint \"{src,catalog}/**/*.{js,jsx}\"",
"jest --bail --findRelatedTests --no-cache"
],
"*.{json,md}": [
"prettier --write",
"git add"
]
},
"jest": {
"setupTestFrameworkScriptFile": "./config/jest.config.js",
"collectCoverageFrom": [
"src/**/*.js"
],
"coverageThreshold": {
"global": {
"branches": 80,
"functions": 80,
"lines": 80,
"statements": 80
}
}
},
"peerDependencies": {
"prop-types": ">=15",
"react": ">=15",
"styled-components": ">=2",
"classnames": ">=2"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-core": "^6.26.0",
"babel-eslint": "^8.2.3",
"babel-jest": "^23.0.0",
"babel-plugin-external-helpers": "^6.22.0",
"babel-preset-env": "^1.6.1",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-2": "^6.24.1",
"catalog": "3.5.3",
"classnames": "^2.2.5",
"eslint": "^5.0.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": "^0.14.3",
"jest": "^22.4.3",
"jest-styled-components": "^5.0.1",
"lint-staged": "^7.0.4",
"pixo": "^1.1.0",
"prettier": "^1.12.1",
"prop-types": "^15.6.1",
"react": "^16.4.0",
"react-dom": "^16.4.0",
"react-test-renderer": "^16.3.2",
"react-testing-library": "^3.1.3",
"rollup": "^0.59.0",
"rollup-plugin-babel": "^3.0.4",
"rollup-plugin-node-resolve": "^3.3.0",
"rollup-plugin-strip-prop-types": "^1.0.2",
"rollup-plugin-uglify": "^3.0.0",
"styled-components": "^3.2.6",
"stylelint": "9.1.3",
"stylelint-config-recommended": "^2.1.0",
"stylelint-config-styled-components": "^0.1.1",
"stylelint-processor-styled-components": "^1.3.1"
},
"homepage": "https://code.ticketmaster.com/prism/",
"repository": {
"type": "git",
"url": "https://github.com/Ticketmaster/prism.git"
},
"bugs": {
"url": "https://github.com/Ticketmaster/prism/issues"
}
}