-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
133 lines (133 loc) · 3.94 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
{
"name": "@channel.io/snippet",
"version": "0.1.2",
"description": "channel.io snippet components",
"main": "build/cjs.js",
"module": "build/esm.js",
"scripts": {
"test": "jest",
"build": "npm run build:clean && npm run build:all",
"build:clean": "rimraf build",
"build:all": "npm run build:typescript && npm run build:rollup",
"build:rollup": "rollup -c",
"build:typescript": "tsc",
"storybook": "start-storybook -p 4004",
"build:storybook": "rimraf storybook-static && build-storybook",
"deploy:storybook": "npm run build:storybook && gh-pages -d storybook-static",
"lint:typescript": "eslint 'src/**/*.{ts,tsx}'",
"lint:styled": "stylelint src/**/*.styled.ts",
"lint:all": "npm run lint:typescript && npm run lint:styled",
"lint:staged": "lint-staged"
},
"author": "ZOYI",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/zoyi/channel-snippet-web"
},
"bugs": {
"url": "https://github.com/zoyi/channel-snippet-web/issues"
},
"keywords": [
"react",
"components",
"channelio"
],
"types": "./build/index.d.ts",
"devDependencies": {
"@babel/core": "^7.5.5",
"@babel/preset-env": "^7.5.5",
"@babel/preset-react": "^7.0.0",
"@babel/preset-typescript": "^7.3.3",
"@storybook/addon-actions": "^5.1.11",
"@storybook/addon-info": "^5.1.11",
"@storybook/addon-knobs": "^5.1.11",
"@storybook/addon-links": "^5.1.11",
"@storybook/addons": "^5.1.11",
"@storybook/cli": "^5.1.11",
"@storybook/react": "^5.1.11",
"@types/enzyme": "^3.10.3",
"@types/enzyme-adapter-react-16": "^1.0.5",
"@types/jest": "^24.0.18",
"@types/react": "^16.9.2",
"@types/storybook__addon-knobs": "^5.0.3",
"@types/storybook__react": "^4.0.2",
"@types/styled-components": "^4.1.18",
"@typescript-eslint/eslint-plugin": "^2.0.0",
"@typescript-eslint/parser": "^2.0.0",
"babel-jest": "^24.9.0",
"babel-loader": "^8.0.6",
"enzyme": "^3.10.0",
"enzyme-adapter-react-16": "^1.14.0",
"eslint": "^6.2.2",
"eslint-config-airbnb": "^18.0.1",
"eslint-import-resolver-typescript": "^1.1.1",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-react": "^7.14.3",
"eslint-plugin-react-hooks": "^2.0.1",
"gh-pages": "^2.1.1",
"jest": "^24.9.0",
"lint-staged": "^9.2.5",
"pre-commit": "^1.2.2",
"react": "^16.9.0",
"react-docgen-typescript-loader": "^3.1.1",
"rimraf": "^3.0.0",
"rollup": "^1.20.3",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-url": "^2.2.2",
"storybook": "^1.0.0",
"styled-components": "^4.3.2",
"stylelint": "^10.1.0",
"stylelint-config-standard": "^18.3.0",
"stylelint-config-styled-components": "^0.1.1",
"stylelint-processor-styled-components": "^1.8.0",
"typescript": "^3.6.2"
},
"peerDependencies": {
"react": ">=16.8.0",
"styled-components": ">=4.0.0"
},
"browserslist": [
"ie >= 10",
"> 1% in KR",
"> 1% in JP",
"> 1% in US"
],
"pre-commit": [
"test",
"lint:staged"
],
"lint-staged": {
"src/**/*.{ts,tsx}": "eslint",
"src/**/*.styled.ts": "stylelint"
},
"jest": {
"verbose": true,
"setupFilesAfterEnv": [
"<rootDir>/setupTests.ts"
],
"moduleFileExtensions": [
"js",
"jsx",
"mjs",
"json",
"ts",
"tsx"
],
"moduleNameMapper": {
"\\.(png|jpg|gif|woff|woff2|ttf|eot|svg|mp3)$": "<rootDir>/src/__mocks__/fileMock.ts",
"^Utils(.*)$": "<rootDir>/src/utils$1",
"^Contexts(.*)$": "<rootDir>/src/contexts$1",
"^Constants(.*)$": "<rootDir>/src/constants$1",
"^Containers(.*)$": "<rootDir>/src/containers$1",
"^Components(.*)$": "<rootDir>/src/components$1",
"^Styles(.*)$": "<rootDir>/src/styles$1"
},
"transform": {
".jsx?$": "babel-jest",
".tsx?$": "babel-jest"
}
}
}