-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
116 lines (116 loc) · 3.94 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
{
"name": "docpad-plugin-api",
"version": "2.3.0",
"description": "DocPad plugin that injects your custom REST api inside a site built with Docpad.",
"homepage": "https://github.com/univunix/docpad-plugin-api",
"license": "MIT",
"keywords": [
"docpad",
"docpad-plugin",
"api",
"rest"
],
"badges": {
"list": [
"travisci",
"npmversion",
"npmdownloads",
"daviddm",
"daviddmdev"
],
"config": {}
},
"author": "Ángel González <admins@univunix.com> (http://univunix.com)",
"maintainers": [
"Ángel González <aglezabad@gmail.com> (http://www.univunix.com)"
],
"contributors": [
"Ángel González <admins@univunix.com> (http://univunix.com)",
"Benjamin Lupton (http://balupton.com)",
"Michael Duane Mooring <Mike@mdm.cc> (http://mdm.cc)",
"Rob Loach <robloach@gmail.com> (http://robloach.net)",
"vsopvsop (https://github.com/vsopvsop)",
"Ángel González <aglezabad@gmail.com> (http://www.univunix.com)",
"fer2d2 (http://www.procesozombie.com/)"
],
"bugs": {
"url": "https://github.com/univunix/docpad-plugin-api/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/univunix/docpad-plugin-api.git"
},
"editions": [
{
"description": "Source + ESNext + Import + Flow Type Comments",
"directory": "src",
"entry": "api.plugin.js",
"syntaxes": [
"javascript",
"esnext",
"import",
"defaults",
"const",
"let",
"flow type comments"
]
},
{
"description": "Babel Compiled + ES2015 + Require",
"directory": "es2015",
"entry": "api.plugin.js",
"syntaxes": [
"javascript",
"es2015",
"require"
]
}
],
"engines": {
"node": ">=4.x",
"docpad": ">=6.x"
},
"peerDependencies": {
"docpad": "6"
},
"dependencies": {
"editions": "^1.1.1"
},
"devDependencies": {
"assert-helpers": "^4.1.0",
"babel-cli": "^6.24.0",
"babel-eslint": "^7.1.1",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-preset-es2015": "^6.6.0",
"docpad": "^6",
"documentation": "^5.1.0",
"eslint": "^4.3.0",
"eslint-plugin-babel": "^4.1.1",
"flow-bin": "^0.51.0",
"joe": "^1.6",
"joe-reporter-console": "^1.2.0",
"projectz": "^1.3.2"
},
"main": "es2015/api.plugin.js",
"scripts": {
"our:setup": "npm run our:setup:npm && npm run our:setup:docpad",
"our:setup:npm": "npm install",
"our:setup:docpad": "bash ./docpad-setup.sh",
"our:clean": "rm -rf ./es2015",
"our:compile": "npm run our:compile:babel",
"our:compile:babel": "./node_modules/.bin/babel ./src --out-dir ./es2015 --presets es2015 --plugins add-module-exports",
"our:meta": "npm run our:meta:projectz",
"our:meta:projectz": "projectz compile",
"our:verify": "npm run our:verify:eslint",
"our:verify:eslint": "./node_modules/.bin/eslint ./src",
"our:test": "npm run our:verify && npm test",
"our:release": "npm run our:release:prepare && npm run our:release:check && npm run our:release:tag && npm run our:release:push",
"our:release:prepare": "npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta",
"our:release:check": "npm run our:release:check:changelog && npm run our:release:check:dirty",
"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: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:release:push": "git push origin master && git push origin --tags",
"test": "node --harmony es2015/api.test.js --joe-reporter=console"
}
}