-
-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathpackage.json
214 lines (214 loc) · 6.89 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
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
{
"title": "Clean URLs Plugin for DocPad",
"name": "docpad-plugin-cleanurls",
"version": "2.12.1",
"description": "Adds support for clean URLs to DocPad",
"homepage": "https://github.com/docpad/docpad-plugin-cleanurls",
"license": "MIT",
"keywords": [
"clean urls",
"docpad",
"docpad-plugin",
"esnext",
"node",
"seo"
],
"badges": {
"list": [
"travisci",
"npmversion",
"npmdownloads",
"daviddm",
"daviddmdev",
"---",
"githubsponsors",
"patreon",
"flattr",
"liberapay",
"buymeacoffee",
"opencollective",
"crypto",
"paypal",
"wishlist"
],
"config": {
"githubSponsorsUsername": "balupton",
"buymeacoffeeUsername": "balupton",
"cryptoURL": "https://bevry.me/crypto",
"flattrUsername": "balupton",
"liberapayUsername": "bevry",
"opencollectiveUsername": "bevry",
"patreonUsername": "bevry",
"paypalURL": "https://bevry.me/paypal",
"wishlistURL": "https://bevry.me/wishlist"
}
},
"funding": "https://bevry.me/fund",
"author": "2012+ Bevry Pty Ltd <us@bevry.me> (http://bevry.me), 2011 Benjamin Lupton <b@lupton.cc> (https://balupton.com)",
"maintainers": [
"Benjamin Lupton <b@lupton.cc> (https://github.com/balupton)"
],
"contributors": [
"Adam Hull (https://github.com/hurrymaplelad)",
"Benjamin Lupton <b@lupton.cc> (https://github.com/balupton)",
"Daniel Smith (https://github.com/StormPooper)",
"David Boyer (https://github.com/misterdai)",
"Laurence Elsdon <studio@studiole.uk> (https://github.com/StudioLE)",
"Marcus Stong (http://circleci.com)",
"Marcus Stong (https://github.com/stongo)",
"Rob Loach <robloach@gmail.com> (https://github.com/RobLoach)",
"Zeno Rocha (http://zenorocha.com)",
"Zeno Rocha (https://github.com/zenorocha)",
"iSpyCreativity (https://github.com/iSpyCreativity)",
"vsopvsop (https://github.com/vsopvsop)"
],
"bugs": {
"url": "https://github.com/docpad/docpad-plugin-cleanurls/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/docpad/docpad-plugin-cleanurls.git"
},
"engines": {
"node": ">=10"
},
"editions": [
{
"description": "ESNext source code for Node.js with Require for modules",
"directory": "source",
"entry": "index.js",
"tags": [
"javascript",
"esnext",
"require"
],
"engines": {
"node": true
}
},
{
"description": "ESNext compiled for Node.js 14 with Require for modules",
"directory": "edition-node-14",
"entry": "index.js",
"tags": [
"javascript",
"require"
],
"engines": {
"node": true,
"browsers": false
}
},
{
"description": "ESNext compiled for Node.js 10 with Require for modules",
"directory": "edition-node-10",
"entry": "index.js",
"tags": [
"javascript",
"require"
],
"engines": {
"node": true,
"browsers": false
}
}
],
"type": "commonjs",
"main": "index.cjs",
"dependencies": {
"docpad-baseplugin": "^1.4.0",
"editions": "^4.0.0",
"safefs": "^6.11.0",
"taskgroup": "^7.14.0"
},
"devDependencies": {
"@babel/cli": "^7.10.5",
"@babel/core": "^7.11.1",
"@babel/plugin-proposal-object-rest-spread": "^7.11.0",
"@babel/preset-env": "^7.11.0",
"@bevry/update-contributors": "^1.15.0",
"coffeescript": "^2.5.1",
"docpad": "^6.83.1",
"docpad-plugintester": "^1.7.3",
"eslint": "^7.6.0",
"eslint-config-bevry": "^3.18.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-prettier": "^3.1.4",
"node-fetch": "^2.6.0",
"prettier": "^2.0.5",
"projectz": "^2.13.0",
"valid-directory": "^3.0.0"
},
"eslintConfig": {
"extends": [
"bevry"
]
},
"prettier": {
"semi": false,
"singleQuote": true
},
"babel": {
"env": {
"edition-node-14": {
"sourceType": "script",
"presets": [
[
"@babel/preset-env",
{
"targets": {
"node": "14"
},
"modules": "commonjs"
}
]
],
"plugins": [
"@babel/proposal-object-rest-spread"
]
},
"edition-node-10": {
"sourceType": "script",
"presets": [
[
"@babel/preset-env",
{
"targets": {
"node": "10"
},
"modules": "commonjs"
}
]
],
"plugins": [
"@babel/proposal-object-rest-spread"
]
}
}
},
"scripts": {
"our:clean": "rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next",
"our:compile": "npm run our:compile:edition-node-10 && npm run our:compile:edition-node-14",
"our:compile:edition-node-10": "env BABEL_ENV=edition-node-10 babel --out-dir ./edition-node-10 ./source && echo '{\"type\": \"commonjs\"}' > edition-node-10/package.json",
"our:compile:edition-node-14": "env BABEL_ENV=edition-node-14 babel --out-dir ./edition-node-14 ./source && echo '{\"type\": \"commonjs\"}' > edition-node-14/package.json",
"our:deploy": "echo no need for this project",
"our:meta": "npm run our:meta:contributors && npm run our:meta:projectz",
"our:meta:contributors": "update-contributors",
"our:meta:projectz": "projectz compile",
"our:release": "npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push",
"our:release:check-changelog": "cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)",
"our:release:check-dirty": "git diff --exit-code",
"our:release:prepare": "npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta",
"our:release:push": "git push origin master && git push origin --tags",
"our:release:tag": "export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"",
"our:setup": "npm run our:setup:dpt && npm run our:setup:install",
"our:setup:dpt": "cd test && npm install && cd ..",
"our:setup:install": "npm install",
"our:test": "npm run our:verify && npm test",
"our:verify": "npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier",
"our:verify:directory": "valid-directory",
"our:verify:eslint": "eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source",
"our:verify:prettier": "prettier --write .",
"test": "docpad-plugintester"
}
}