-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
56 lines (56 loc) · 1.7 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
{
"name": "@socialgouv/react-departements",
"description": "Une carte de France où certains departements peuvent être colorés.",
"homepage": "https://github.com/SocialGouv/react-departements#readme",
"version": "3.1.2",
"main": "cjs/index.js",
"module": "esm/index.js",
"browser": "dist/index.js",
"license": "Apache-2.0",
"publishConfig": {
"access": "public"
},
"files": [
"README.md",
"cjs",
"dist",
"esm"
],
"dependencies": {
"react-svgmt": "^1.1.11"
},
"devDependencies": {
"@babel/cli": "^7.15.7",
"@babel/core": "^7.15.8",
"@babel/preset-env": "^7.15.8",
"@babel/preset-react": "^7.14.5",
"@socialgouv/eslint-config-react": "^1.90.4",
"babel-jest": "^27.2.5",
"eslint": "^7.32.0",
"gh-pages": "^3.2.3",
"jest": "^27.2.5",
"parcel-bundler": "1.12.5",
"prettier": "^2.4.1",
"prop-types": "^15.7.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-test-renderer": "^16.14.0"
},
"peerDependencies": {
"prop-types": "15.x",
"react": "16.x"
},
"scripts": {
"test": "jest",
"lint": "eslint src",
"clean": "rm -rf ./dist",
"clean:demo": "rm -rf ./example/dist",
"start": "parcel watch ./src/index.js --out-dir ./dist",
"start:demo": "parcel ./example/src/index.html --out-dir ./example/dist",
"build": "yarn run build:browser && yarn run build:cjs && yarn run build:esm",
"build:browser": "parcel build ./src/index.js --global minimum-parcel-lib",
"build:cjs": "BABEL_ENV=cjs babel src --out-dir cjs",
"build:demo": "parcel build ./example/src/index.html --out-dir ./example/dist --public-url ./",
"build:esm": "BABEL_ENV=esm babel src --out-dir esm"
}
}