-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
142 lines (142 loc) · 4.62 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
{
"name": "nyc-lib",
"version": "1.4.87",
"description": "A set of common libraries used to develop NYC mapping applications",
"scripts": {
"pushit": "cd etc && ./push.sh && cd ..",
"postinstall": "node chmod-scripts",
"clean": "rm -rf ./dist",
"test": "jest",
"pkg": "cp ./package.json ./dist/ && cp ./chmod-scripts.js ./dist/ && cp -r ./src/nyc/ ./dist/ && find ./dist/ -type d -name __mocks__ -exec rm -rf {} +",
"prepkg": "yarn clean && yarn jsdoc && yarn pkg-css && yarn roll-css",
"build": "webpack",
"prebuild": "yarn clean && yarn lint && yarn test && yarn postcss",
"prebuild-no-test": "yarn clean && yarn postcss",
"postbuild": "yarn jsdoc && rm -rf ./tmp",
"build-no-test": "webpack",
"jsdoc": "jsdoc -c ./jsdoc/conf.json",
"postjsdoc": "node versiondoc.js",
"pkg-css": "cp -r ./src/css/ ./dist/css/",
"postcss": "rm -rf ./tmp && mkdir tmp && yarn nyc-css && yarn nyc-ol-css && yarn nyc-ol-fullscreen-css && yarn nyc-basic-css",
"nyc-css": "postcss ./src/css/nyc-lib.css --o ./tmp/css/nyc-lib.css --no-map --config postcss.config.js",
"nyc-ol-css": "postcss ./src/css/nyc-ol-lib.css --o ./tmp/css/nyc-ol-lib.css --no-map --config postcss.config.js",
"nyc-ol-fullscreen-css": "postcss ./src/css/nyc-ol-fullscreen-lib.css --o ./tmp/css/nyc-ol-fullscreen-lib.css --no-map --config postcss.config.js",
"nyc-basic-css": "postcss ./src/css/nyc-basic-lib.css --o ./tmp/css/nyc-basic-lib.css --no-map --config postcss.config.js",
"roll-css": "cp ./etc/css/*.* ./dist/css/",
"predeploy": "yarn build",
"deploy": "node deploy && node write-index",
"lint": "eslint src"
},
"jest": {
"testURL": "http://localhost",
"testEnvironmentOptions": {
"resources": "usable"
},
"verbose": true,
"automock": false,
"testMatch": [
"**/__tests__/**/*.test.js"
],
"transformIgnorePatterns": [
"/node_modules/(?!(ol|color-space|color-rgba|color-parse|ol-mapbox-style)/)"
],
"moduleNameMapper": {
"^nyc(.*)$": "<rootDir>/src/nyc/$1"
},
"setupFiles": [
"./__tests__/jest-setup.js"
],
"collectCoverage": true,
"coverageDirectory": "./coverage/",
"collectCoverageFrom": [
"src/nyc/**/*.js"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/timkeane/nyc-lib.git"
},
"keywords": [
"mapping",
"openlayers",
"nyc",
"New York"
],
"author": "Tim Keane <[email protected]> (https://timkeane.github.io/)",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/timkeane/nyc-lib/issues"
},
"homepage": "https://github.com/timkeane/nyc-lib#readme",
"engines": {
"node": ">=4.2.4"
},
"devDependencies": {
"@babel/cli": "^7.4.4",
"@babel/core": "^7.4.5",
"@babel/preset-env": "^7.4.5",
"babel-eslint": "^10.0.1",
"babel-jest": "^24.8.0",
"babel-loader": "^8.0.6",
"babel-minify-webpack-plugin": "^0.3.1",
"babel-plugin-module-resolver": "^3.2.0",
"babel-polyfill": "^6.26.0",
"clean-webpack-plugin": "^3.0.0",
"copy-webpack-plugin": "^5.0.3",
"coveralls": "^3.0.4",
"eslint": "^5.16.0",
"eslint-config-openlayers": "^11.0.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-loader": "^2.0.0",
"eslint-plugin-import": "^2.17.3",
"ghooks": "^2.0.4",
"ink-docstrap": "^1.3.2",
"jest": "^26.6.3",
"jest-canvas-mock": "^2.2.0",
"jest-fetch-mock": "^2.1.2",
"jsdoc": "^3.5.5",
"module-resolver": "^1.0.0",
"nyc-build-helper": "^0.0.45",
"postcss": "^8.2.10",
"postcss-clean": "^1.1.0",
"postcss-cli": "^7.1.1",
"postcss-css-variables": "^0.9.0",
"postcss-import": "^11.1.0",
"resize-observer-polyfill": "^1.5.1",
"sanitize-html": "^2.3.2",
"strict-mode": "^1.1.2",
"webpack": "^4.43.0",
"webpack-cli": "^3.3.11"
},
"dependencies": {
"global": "^4.4.0",
"isomorphic-fetch": "^3.0.0",
"jquery": "^3.5.0",
"node-fetch": "^3.1.1",
"ol": "8.2.0",
"ol-mapbox-style": "^12.1.1",
"papaparse": "^5.3.0",
"proj4": "^2.4.4",
"shapefile": "^0.6.6",
"simple-statistics": "^7.0.8"
},
"resolutions": {
"**/**/ansi-regex": "^5.0.1",
"**/**/ssri": "^6.0.2",
"**/**/glob-parent": "^5.1.2",
"**/**/serialize-javascript": "^3.1.0",
"**/**/node-fetch": "^2.6.1",
"**/**/ini": "1.3.7",
"**/**/postcss": "^8.2.10",
"**/**/sanitize-html": "^2.3.2",
"**/**/underscore": "^1.12.2",
"**/**/marked": "^4.0.10",
"**/**/markdown-it": "^12.3.2"
},
"config": {
"ghooks": {
"pre-commit": "yarn build",
"pre-push": "yarn build && yarn pushit"
}
}
}