This repository has been archived by the owner on Jan 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
150 lines (150 loc) · 4.93 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
{
"name": "@terralego/core",
"version": "1.40.1",
"private": false,
"license": "ISC",
"dependencies": {
"@babel/preset-env": "^7.9.0",
"@blueprintjs/core": "^3.30.1",
"@blueprintjs/datetime": "~3.9.2",
"@blueprintjs/icons": "~3.10.0",
"@blueprintjs/select": "~3.10.0",
"@blueprintjs/table": "~3.7.0",
"@makina-corpus/mapbox-gl-path": "^1.9.0",
"@mapbox/mapbox-gl-draw": "^1.1.2",
"@mapbox/mapbox-gl-sync-move": "^0.2.0",
"@turf/area": "^6.5.0",
"@turf/bbox": "^6.0.1",
"@turf/centroid": "^6.0.2",
"@turf/length": "^6.5.0",
"@turf/line-to-polygon": "^6.5.0",
"base64url": "^3.0.1",
"bodybuilder": "^2.2.17",
"classnames": "^2.2.6",
"color2k": "^1.2.2",
"debug": "^4.1.0",
"deep-object-diff": "^1.1.0",
"elasticsearch": "^16.3.0",
"file-saver": "^2.0.2",
"html-to-react": "^1.4.8",
"html2canvas": "^1.0.0-rc.3",
"jspdf": "^1.5.3",
"lodash.debounce": "^4.0.8",
"lodash.template": "~4.5.0",
"mapbox-gl": "^1.13.0",
"mapbox-gl-inspect": "~1.3.1",
"marked": "~0.7.0",
"moize": "^5.4.4",
"normalize.css": "^8.0.0",
"nunjucks": "^3.2.0",
"prop-types": "^15.6.2",
"query-string": "~6.8.2",
"react": "^16.8.6",
"react-contenteditable": "~3.3.1",
"react-ctx-connect": "^1.0.3",
"react-dom": "^16.8.6",
"resize-observer-polyfill": "^1.5.1",
"slugify": "^1.3.4",
"uuid": "^3.3.2"
},
"scripts": {
"start": "run-p -l watch:lint start-storybook",
"watch": "nodemon -x npm run build-local",
"build": "run-s -l drop-dist babel sass fixcss copyscss",
"build-local": "run-s build copyjson",
"build:local": "run-s build copyjson",
"publish:ci": "npm run copyjson && cd dist && npm publish --access public",
"publish:manual": "npm run build-local && cd dist && npm publish --access public",
"version": "git changelog -n -t $npm_package_version && git add CHANGELOG.md",
"drop-dist": "rimraf dist",
"copyscss": "cpx 'src/**/*.{scss,svg}' dist",
"copyjson": "cpx '{package.json,package-lock.json,README.md,locales/**/*.json}' dist",
"sass": "node-sass src -o dist",
"watch:sass": "npm run sass -- --recursive --watch",
"babel": "babel src -d dist --ignore 'src/**/*.snap','src/**/*.test.js','src/setupTests.js' --source-maps --config-file ./.babelrc-build",
"watch:babel": "npm run babel -- --verbose --skip-initial-build --watch",
"fixcss": "replace '\\.scss' '.css' dist/ --recursive --quiet",
"start-storybook": "start-storybook -p 9009 -s public --quiet --ci",
"build-storybook": "build-storybook -s public",
"build:storybook": "build-storybook -s public",
"test": "react-scripts test",
"coverage": "npm test -- --coverage",
"watch:coverage": "npm test -- --coverage --watch",
"lint": "eslint src .storybook",
"watch:lint": "esw src -w"
},
"nodemonConfig": {
"watch": "src/**/*.{js,s?css}",
"ignore": "src/**/*.test.js"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"devDependencies": {
"@babel/cli": "~7.5.5",
"@babel/core": "~7.5.5",
"@babel/plugin-proposal-class-properties": "~7.5.5",
"@babel/plugin-proposal-object-rest-spread": "~7.5.5",
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
"@babel/plugin-transform-runtime": "~7.5.5",
"@babel/preset-react": "^7.0.0",
"@storybook/addon-a11y": "~5.1.10",
"@storybook/addon-actions": "~5.1.10",
"@storybook/addon-centered": "~5.1.10",
"@storybook/addon-info": "~5.1.10",
"@storybook/addon-knobs": "~5.1.10",
"@storybook/addon-links": "~5.1.10",
"@storybook/addon-viewport": "~5.1.10",
"@storybook/addons": "~5.1.10",
"@storybook/react": "~5.1.10",
"@testing-library/react": "^11.2.3",
"babel-eslint": "^10.1.0",
"babel-plugin-i18next-extract": "^0.2.3",
"cpx": "~1.5.0",
"enzyme": "~3.10.0",
"enzyme-adapter-react-16": "~1.14.0",
"eslint": "^6.8.0",
"eslint-config-makina": "^3.0.0",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-react": "^7.19.0",
"eslint-plugin-react-hooks": "^2.3.0",
"eslint-watch": "~6.0.1",
"node-sass": "^4.13.1",
"nodemon": "~1.19.1",
"npm-run-all": "~4.1.5",
"react-scripts": "^3.4.4",
"react-test-renderer": "^16.8.6",
"replace": "~1.1.0",
"rimraf": "~2.6.3"
},
"peerDependencies": {
"react": "^16.8.x",
"react-dom": "^16.8.x",
"react-router-dom": "^5.1.x"
},
"jest": {
"collectCoverageFrom": [
"src/**/*.js",
"!src/stories/**/*",
"!src/**/index.js",
"!src/**/context.js",
"!src/**/log.js",
"!src/modules/TerraFrontProvider.js"
],
"coverageThreshold": {
"global": {
"branches": 75,
"functions": 75,
"lines": 75,
"statements": 75
}
},
"transformIgnorePatterns": [
"/node_modules/(?!@makina-corpus/mapbox-gl-path) --env=jsdom"
]
}
}