-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
82 lines (82 loc) · 2.58 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
{
"name": "blockchain-info-components",
"version": "0.0.33",
"description": "A shared UI components library for blockchain.com applications.",
"license": "AGPL-3.0-or-later",
"author": {
"name": "Blockchain",
"url": "https://blockchain.com"
},
"main": "lib/index.js",
"module": "src/index.js",
"scripts": {
"ci:test": "yarn test --runInBand",
"clean": "cross-env rimraf node_modules && rimraf lib",
"coverage": "cross-env ./../../node_modules/.bin/jest --coverage",
"deploy-storybook": "storybook-to-ghpages",
"publish": "rm -rf lib && npx babel --out-dir lib --ignore spec.js --copy-files src",
"storybook:build": "build-storybook",
"storybook:serve": "start-storybook -p 6006",
"storybook:deploy": "yarn deploy-storybook --existing-output-dir=./storybook-static",
"test": "cross-env ./../../node_modules/.bin/jest --silent",
"test:build": "cross-env rimraf lib && npx babel --out-dir lib --ignore spec.js --copy-files src",
"test:debug": "cross-env node --inspect-brk ./../../node_modules/.bin/jest --runInBand",
"test:update": "cross-env ./../../node_modules/.bin/jest -u",
"test:watch": "cross-env ./../../node_modules/.bin/jest --watchAll"
},
"jest": {
"collectCoverageFrom": [
"src/**/*.js",
"!src/**/index.js"
],
"coverageDirectory": "<rootDir>/../../coverage/blockchain-info-components",
"coverageReporters": [
"json",
"html"
],
"globals": {
"ts-jest": {
"diagnostics": {
"ignoreCodes": [
2321
]
}
}
},
"moduleNameMapper": {
"\\.(pdf|jpg|jpeg|png|gif|eot|otf|svg|ttf|woff|woff2)$": "<rootDir>/src/__mocks__/fileMock.js",
"\\.(css|scss)$": "<rootDir>/../../node_modules/identity-obj-proxy"
},
"modulePathIgnorePatterns": [
"./lib"
],
"setupFiles": [
"<rootDir>/../../config/jest/jest.shim.js",
"<rootDir>/../../config/jest/jest.config.js"
],
"snapshotSerializers": [
"<rootDir>/../../node_modules/enzyme-to-json/serializer"
],
"testPathIgnorePatterns": [
"./lib"
],
"transform": {
"^.+\\.jsx?$": "babel-jest",
"^.+\\.tsx?$": "ts-jest"
}
},
"dependencies": {
"polished": "3.3.0",
"prop-types": "15.7.2",
"ramda": "0.26.1",
"react": "16.8.6",
"react-datetime": "2.16.3",
"react-input-autosize": "2.2.1",
"react-intl": "2.8.0",
"react-onclickoutside": "6.8.0",
"react-select": "3.0.3",
"react-transition-group": "2.5.3",
"styled-components": "4.4.1",
"universal-cookie": "4.0.0"
}
}