This repository has been archived by the owner on Sep 21, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
172 lines (172 loc) · 5.24 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
{
"name": "dissenter-ui",
"main": "index.js",
"sideEffects": false,
"version": "0.34.4",
"description": "List of reusable React components to empower your brave UI",
"author": "Brave Software",
"contributors": [
{
"name": "Cezar Augusto",
"email": "cezar@brave.com"
},
{
"name": "Nejc Zdovc",
"email": "nejc@brave.com"
},
{
"name": "Peter Miller",
"email": "peter@brave.com"
},
{
"name": "Ryan Lanese",
"email": "rlanese@brave.com"
}
],
"license": "MPL-2.0",
"scripts": {
"ts": "tsc",
"ts-watch": "tsc -w",
"lint": "npm run lint-css && npm run lint-ts",
"lint-css": "stylelint './src/**/*.{ts,tsx}'",
"lint-ts": "tslint --project tsconfig-storybook.json 'src/**/*.{ts,tsx}' 'stories/**/*.{ts,tsx}'",
"copy": "ncp src package --filter='^(?!(.*)(__snapshots__|spec.tsx)$).*$' && cpr package.json package/ && cpr README.md package/",
"build": "rimraf package && npm run copy && lerna exec -- tsc",
"publish": "npm run build && lerna publish",
"now-build": "npm run storybook-build",
"storybook-start": "start-storybook -p 9091 -c .storybook -s .storybook/static",
"storybook-deploy": "storybook-to-ghpages -s storybook-build -o .out",
"storybook-build": "build-storybook -c .storybook -s .storybook/static -o .storybook-out",
"test-integration:deps": "npm run build && cd ./examples/webpack-4 && npm install && npm run build && cd ../../",
"test-integration": "npm run test-integration:deps && jest -c ./integration-tests/jest.json",
"test-unit": "jest -t",
"test-unit-all": "jest --verbose",
"test-unit-all-ci": "jest --verbose --maxWorkers=4",
"test-security": "npm audit",
"coverage": "jest --coverage --verbose",
"create": "node ./tools/createComponent.js"
},
"dependencies": {
"@ctrl/tinycolor": "^2.2.1",
"emptykit.css": "^1.0.1",
"js-yaml": "^3.13.1",
"styled-components": "^3.2.5"
},
"devDependencies": {
"@babel/core": "^7.1.6",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"@dump247/storybook-state": "^1.5.2",
"@storybook/addon-actions": "^5.0.11",
"@storybook/addon-backgrounds": "^5.0.11",
"@storybook/addon-centered": "^5.0.1",
"@storybook/addon-knobs": "^5.0.11",
"@storybook/addons": "^5.0.6",
"@storybook/react": "^5.0.11",
"@storybook/storybook-deployer": "^2.8.1",
"@types/enzyme": "^3.1.9",
"@types/jest": "^23.3.9",
"@types/react": "^16.4.10",
"@types/react-beautiful-dnd": "^10.0.1",
"@types/react-dom": "^16.0.7",
"@types/react-test-renderer": "^16.0.1",
"@types/storybook__addon-actions": "^3.4.2",
"@types/storybook__addon-centered": "^3.3.2",
"@types/storybook__addon-info": "^4.1.0",
"@types/storybook__addon-knobs": "^4.0.3",
"@types/storybook__react": "^4.0.1",
"awesome-typescript-loader": "^5.2.1",
"babel-core": "^7.0.0-bridge.0",
"babel-loader": "^8.0.4",
"cpr": "^3.0.1",
"csstype": "^2.5.5",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"enzyme-to-json": "^3.3.4",
"fs-extra": "^2.1.2",
"identity-obj-proxy": "^3.0.0",
"jest": "^24.1.0",
"jest-styled-components": "^5.0.1",
"lerna": "^2.0.0",
"ncp": "^2.0.0",
"pre-commit": "^1.2.2",
"pre-push": "^0.1.1",
"react": "^16.4.2",
"react-beautiful-dnd": "^10.0.3",
"react-dom": "^16.3.0",
"react-test-renderer": "^16.3.0",
"rimraf": "^2.6.2",
"storybook-addon-styled-component-theme": "^1.1.1",
"stylelint": "^9.4.0",
"stylelint-config-recommended": "^2.1.0",
"stylelint-config-styled-components": "^0.1.1",
"stylelint-processor-styled-components": "^1.3.2",
"ts-jest": "^23.10.4",
"tslint": "^5.8.0",
"tslint-config-standard": "^7.0.0",
"tslint-react": "^3.2.0",
"typescript": "^3.0.1",
"typescript-plugin-styled-components": "0.0.6"
},
"peerDependencies": {
"react": "^16.0.0"
},
"pre-commit": {
"run": [
"lint"
]
},
"pre-push": {
"run": [
"lint",
"test-unit-all"
]
},
"storybook-deployer": {
"gitUsername": "Brave Nespresso Drinker and Static Deployer Bot",
"gitEmail": "deploying-for-the-deployer-lord@brave.com",
"commitMessage": "Update Styleguide"
},
"jest": {
"snapshotSerializers": [
"enzyme-to-json/serializer"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"json"
],
"globals": {
"ts-jest": {
"babelConfig": true,
"tsConfig": "tsconfig-jest.json",
"isolatedModules": true
}
},
"resetMocks": true,
"resetModules": true,
"collectCoverage": false,
"collectCoverageFrom": [
"src/**/*.tsx",
"!src/**/index.ts"
],
"testMatch": [
"<rootDir>/src/**/spec.tsx"
],
"testPathIgnorePatterns": [
"<rootDir>/node_modules/"
],
"setupFilesAfterEnv": [
"<rootDir>/.testconfig/testSetup.js"
],
"setupFiles": [
"<rootDir>/.testconfig/testPolyfills.js"
],
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|svg|ttf|woff|woff2)$": "<rootDir>/.testconfig/fileMocks.ts",
"\\.(css)$": "identity-obj-proxy"
},
"preset": "ts-jest/presets/js-with-babel"
}
}