-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
98 lines (98 loc) · 3.1 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
{
"name": "olturf",
"version": "0.8.1",
"description": "A Turf toolbar for OpenLayers.",
"author": {
"name": "Daniel Pulido",
"email": "[email protected]"
},
"license": "MIT",
"main": "dist/olturf.js",
"module": "src/js/main.js",
"unpkg": "dist/olturf.min.js",
"jsdelivr": "dist/olturf.min.js",
"scripts": {
"build": "run-s lint bundle docs",
"bundle": "run-s bundle:js bundle:css",
"bundle:css": "run-s bundle:css:*",
"bundle:css:cat": "shx cat src/css/*.css > dist/olturf.css",
"bundle:css:min": "cleancss -o dist/olturf.min.css -O2 src/css/*.css",
"bundle:js": "rollup --silent -c",
"docs": "run-s docs:clean docs:build docs:mkdir docs:copy",
"docs:build": "jsdoc -t ./node_modules/ink-docstrap/template -c conf.json",
"docs:clean": "shx rm -rf docs/api",
"docs:copy": "shx cp docs/web/img/* docs/api/docs/web/img/",
"docs:mkdir": "shx mkdir -p docs/api/docs/web/img/",
"lint": "run-s lint:md lint:css lint:html lint:js",
"lint:css": "stylelint 'src/css/*.css' 'docs/*.css' 'docs/web/css/*.css'",
"lint:html": "run-s lint:html:pretty lint:html:hint",
"lint:html:hint": "htmlhint 'docs/*.html' 'docs/web/*.html'",
"lint:html:pretty": "prettier --check 'docs/*.html' 'docs/web/*.html'",
"lint:js": "eslint '*.js' 'docs/web/js/*.js' 'src/js/*.js'",
"lint:md": "remark -q .",
"prepare": "npm run build",
"test": "run-s test:clean test:lint test:run test:coverage",
"test:clean": "shx rm -rf coverage .nyc_output",
"test:coverage": "nyc report --reporter=lcov",
"test:lint": "run-s test:lint:*",
"test:lint:css": "stylelint 'test/*.css'",
"test:lint:html": "run-s test:lint:html:*",
"test:lint:html:hint": "htmlhint 'test/*.html'",
"test:lint:html:pretty": "prettier --check 'test/*.html'",
"test:lint:js": "eslint 'test/*.js'",
"test:run": "jest"
},
"files": [
"src/**/*.*",
"dist/*.*"
],
"homepage": "https://github.com/dpmcmlxxvi/olturf",
"repository": {
"type": "git",
"url": "git+https://github.com/dpmcmlxxvi/olturf.git"
},
"bugs": {
"url": "https://github.com/dpmcmlxxvi/olturf/issues"
},
"keywords": [
"turf",
"openlayers",
"toolbar"
],
"devDependencies": {
"clean-css-cli": "^5.5.2",
"coveralls": "^3.1.1",
"eslint": "^8.8.0",
"eslint-config-google": "^0.14.0",
"htmlhint": "^1.1.2",
"ink-docstrap": "^1.3.2",
"jest": "^27.4.7",
"jest-puppeteer": "^6.1.0",
"jquery": "^3.6.0",
"jsdoc": "^3.6.10",
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"prettier": "^2.5.1",
"puppeteer": "^13.1.3",
"puppeteer-to-istanbul": "^1.4.0",
"remark-cli": "^10.0.1",
"remark-preset-lint-markdown-style-guide": "^5.1.2",
"rollup": "^2.67.0",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-terser": "^7.0.2",
"shx": "^0.3.4",
"stylelint": "^14.3.0",
"stylelint-config-standard": "^24.0.0"
},
"remarkConfig": {
"plugins": [
"remark-preset-lint-markdown-style-guide"
]
},
"nyc": {
"include": [
"**/olturf.js"
]
}
}