/
package.json
86 lines (86 loc) 路 2.52 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
{
"name": "@nucleos/maps-bundle",
"license": "MIT",
"version": "1.0.0",
"homepage": "https://nucleos.rocks",
"author": "Christian Gripp <mail@core23.de>",
"symfony": {
"controllers": {
"openstreetmap": {
"main": "dist/openstreetmap_controller.js",
"webpackMode": "lazy",
"enabled": true,
"autoimport": {
"@nucleos/maps-bundle/dist/openstreetmap.css": true
}
},
"googlemaps": {
"main": "dist/googlemaps_controller.js",
"webpackMode": "lazy",
"enabled": true,
"autoimport": []
}
}
},
"dependencies": {
"leaflet": "^1.7.1",
"leaflet-extra-markers": "^1.1.0"
},
"peerDependencies": {
"stimulus": "^2.0.0"
},
"devDependencies": {
"@babel/cli": "^7.12.16",
"@babel/core": "^7.12.16",
"@babel/eslint-parser": "^7.12.17",
"@babel/plugin-proposal-class-properties": "^7.12.1",
"@babel/plugin-transform-runtime": "^7.12.17",
"@babel/preset-env": "^7.12.17",
"@size-limit/preset-small-lib": "^4.9.2",
"@symfony/stimulus-testing": "^1.1.0",
"eslint": "^7.20.0",
"eslint-config-prettier": "^7.2.0",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-jest": "^24.1.5",
"node-sass": "^5.0.0",
"prettier": "^2.2.1",
"size-limit": "^4.9.2",
"stimulus": "^2.0.0"
},
"scripts": {
"build": "babel src -d dist && yarn sass:build",
"sass:build": "node-sass src -o dist",
"sass:watch": "node-sass -w src -o dist",
"test": "yarn build && jest",
"lint": "eslint src test --fix",
"format": "prettier {src,test}/*.js --write",
"check-lint": "yarn lint --no-fix",
"check-format": "yarn format --no-write --check",
"size": "size-limit"
},
"prettier": {
"printWidth": 120,
"trailingComma": "es5",
"tabWidth": 4,
"jsxBracketSameLine": true,
"singleQuote": true
},
"size-limit": [
{
"path": "./dist/*.js",
"gzip": false,
"limit": "165 KB"
},
{
"path": "./dist/*.css",
"gzip": false,
"limit": "30 KB"
}
],
"jest": {
"testRegex": "test/.*\\.test.js",
"setupFilesAfterEnv": [
"./test/setup.js"
]
}
}