forked from InseeFr/Lunatic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
126 lines (126 loc) · 3.31 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
{
"name": "@inseefr/lunatic",
"version": "1.1.1",
"description": "Library of questionnaire components",
"repository": {
"type": "git",
"url": "https://github.com/InseeFr/Lunatic.git"
},
"author": "INSEE (http://www.insee.fr)",
"contributor": [
{
"name": "Nicolas Laval",
"email": "[email protected]"
}
],
"license": "MIT",
"main": "lib/index.js",
"module": "src/index.js",
"files": [
"lib",
"src"
],
"scripts": {
"test": "cross-env NODE_PATH=src/ jest",
"test-watch": "cross-env NODE_PATH=src/ jest --watchAll",
"test-coverage": "cross-env NODE_PATH=src/ jest --coverage",
"start-storybook": "cross-env NODE_PATH=src/ start-storybook -p 9999",
"build-storybook": "cross-env NODE_PATH=src/ build-storybook -o built-storybook/storybook",
"build": "rollup -c rollup.config.js",
"prepublish": "npm test && npm run build"
},
"keywords": [
"react",
"component",
"react-component",
"library"
],
"dependencies": {
"@inseefr/vtl-tools": "^0.1.10",
"keycode": "^2.2.0",
"lodash.camelcase": "^4.3.0",
"prop-types": "^15.7.2"
},
"devDependencies": {
"@babel/core": "^7.6.4",
"@babel/plugin-proposal-class-properties": "^7.5.5",
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/plugin-transform-modules-commonjs": "^7.6.0",
"@babel/plugin-transform-react-jsx": "^7.3.0",
"@babel/preset-env": "^7.6.3",
"@babel/preset-react": "^7.6.3",
"@storybook/addon-a11y": "^5.2.5",
"@storybook/addon-knobs": "^5.2.5",
"@storybook/addon-options": "^5.2.5",
"@storybook/addon-viewport": "^5.2.5",
"@storybook/react": "^5.2.5",
"@timdp/rollup-plugin-image": "^1.0.3",
"babel-eslint": "^10.0.3",
"babel-loader": "^8.0.6",
"classnames": "^2.2.5",
"coveralls": "^3.0.2",
"cross-env": "^6.0.3",
"css-loader": "^3.2.0",
"enzyme": "^3.7.0",
"enzyme-adapter-react-16": "^1.6.0",
"eslint": "6.6.0",
"eslint-config-prettier": "^6.5.0",
"eslint-config-react-app": "^5.0.2",
"eslint-plugin-flowtype": "^4.3.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jsx-a11y": "^6.1.1",
"eslint-plugin-react": "^7.11.1",
"file-loader": "^4.0.0",
"jest": "^24.9.0",
"jest-transform-stub": "^2.0.0",
"node-sass": "^4.7.2",
"postcss-scss": "^2.0.0",
"prettier": "^1.14.3",
"rollup": "^1.26.0",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-postcss": "^2.0.3",
"rollup-plugin-replace": "^2.2.0",
"rollup-plugin-serve": "^1.0.1",
"rollup-plugin-terser": "^5.1.2",
"rollup-plugin-uglify": "^6.0.3",
"rollup-watch": "^4.3.1",
"sass-loader": "^8.0.0",
"storybook-addon-jsx": "^7.1.13",
"storybook-readme": "^5.0.8",
"style-loader": "^1.0.0",
"url-loader": "^2.2.0"
},
"jest": {
"collectCoverageFrom": [
"src/**/*.{js,jsx}",
"!src/**/index.js",
"!src/**/*.stories.js"
],
"testURL": "http://localhost",
"moduleNameMapper": {
"^.+\\.(css|less|scss)$": "babel-jest"
},
"transform": {
"^.+\\.js$": "babel-jest",
".+\\.(png|jpg)$": "jest-transform-stub"
},
"setupFilesAfterEnv": [
"<rootDir>/src/tests/setup/setupTests.js"
]
},
"publishConfig": {
"access": "public"
},
"prettier": {
"singleQuote": true,
"semi": true,
"useTabs": true,
"bracketSpacing": true,
"trailingComma": "es5"
},
"peerDependencies": {
"react": "^16.11.0"
}
}