forked from code4romania/taskforce-fe-components
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
95 lines (95 loc) · 2.55 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
{
"name": "@code4ro/taskforce-fe-components",
"version": "2.0.0",
"private": false,
"sideEffects": false,
"dependencies": {
"bulma": "^0.9.0",
"date-fns": "^2.11.1",
"echarts": "^4.8.0",
"echarts-for-react": "^2.0.16",
"react-datepicker": "^3.1.3",
"react-share": "^4.2.1"
},
"peerDependencies": {
"prop-types": ">= 15.7.2 < 2",
"react": ">= 16.13.0 < 2",
"react-dom": ">= 16.13.0 < 2"
},
"scripts": {
"start": "npm run storybook",
"build": "npm run clean && rollup -c",
"prepare": "npm run build",
"storybook": "start-storybook -p 9009",
"build-storybook": "build-storybook -c .storybook -o storybook-static",
"lint": "eslint ./src --ext .js,.jsx,.ts,.tsx",
"lint:fix": "npm run lint -- --fix",
"clean": "rm -rf dist",
"test": "jest"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint && npm test"
}
},
"jest": {
"snapshotSerializers": [
"enzyme-to-json/serializer"
],
"setupFiles": [
"./src/setupTests.js"
],
"moduleNameMapper": {
"\\.(scss|png|css)$": "<rootDir>/src/__mocks__/styleMock.js"
}
},
"browserslist": {
"production": [
">0.5%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@babel/plugin-proposal-class-properties": "^7.10.4",
"@rollup/plugin-image": "^2.0.5",
"@storybook/addon-docs": "^5.3.19",
"@storybook/addon-knobs": "^5.3.19",
"@storybook/addon-storysource": "^5.3.19",
"@storybook/addon-viewport": "^5.3.19",
"@storybook/preset-create-react-app": "^3.1.4",
"@storybook/react": "^5.3.19",
"babel-eslint": "^10.1.0",
"babel-jest": "^26.1.0",
"babel-plugin-inline-react-svg": "1.1.1",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.2",
"enzyme-to-json": "^3.4.4",
"eslint": "^7.4.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-jest": "^23.18.0",
"eslint-plugin-react": "^7.20.3",
"husky": "^4.2.3",
"jest": "^26.1.0",
"node-sass": "^4.14.1",
"prettier": "^2.0.5",
"react-scripts": "^3.4.1",
"rollup": "^2.21.0",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-postcss": "^3.1.2"
},
"description": "Component library for code4ro Taskforce",
"module": "dist/index.js",
"style": "dist/index.css",
"repository": "https://github.com/code4romania/taskforce-fe-components.git",
"author": "",
"license": "MIT",
"files": [
"dist"
]
}