forked from thom4parisot/nodebook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
119 lines (119 loc) · 3.04 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
{
"name": "nodebook",
"version": "1.0.15",
"description": "Node.js • Apprendre par la pratique.\nFamiliarisez-vous avec JavaScript, Node.js et l'écosystème de modules npm.\nApprenez à concevoir et à déployer des *applications web* et des *outils en ligne de commande*.",
"bin": {
"nodebook": "./bin/cli.js"
},
"main": "server.js",
"scripts": {
"build:html": "node bin/build.js html5 .html index.adoc chapter-*/index.adoc foreword/*.adoc appendix-*/*.adoc",
"build:docbook": "node bin/build.js docbook5 .xml book.adoc",
"build:odt": "node bin/build.js odt .fodt book.adoc",
"install:all": "./bin/cli.js install all",
"lint": "eslint '**/*.js'",
"prestart": "npm run build:html",
"start": "node server.js",
"test": "tape 'tests/*.js'",
"test:docker": "docker run -ti --rm -v $(pwd):/tests -e CI=1 -e DEBUG=tape-spawn -w /tests node:${npm_package_engines_node}-slim npm cit",
"posttest": "npm run lint",
"postinstall": "node bin/cli.js --help"
},
"engines": {
"node": "10",
"npm": "6"
},
"repository": {
"type": "git",
"url": "git://github.com/thom4parisot/nodebook.git"
},
"keywords": [
"nodejs",
"book",
"french",
"livre",
"learn",
"apprendre"
],
"author": "Thomas Parisot (https://thom4.net)",
"license": "CC-BY-NC-SA-4.0",
"bugs": {
"url": "https://github.com/thom4parisot/nodebook/issues"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/nodebook"
},
"prettier": {
"arrowParens": "always",
"bracketSpacing": false,
"singleQuote": true
},
"homepage": "https://apprendre-nodejs.fr/v1/",
"dependencies": {
"finalhandler": "^1.1.2",
"get-port": "^5.1.1",
"glob": "^7.2.0",
"serve-static": "^1.14.2",
"update-check": "^1.5.4",
"yargs": "^14.2.3"
},
"devDependencies": {
"@asciidoctor/core": "^2.2.6",
"@asciidoctor/docbook-converter": "^2.0.0",
"asciidoctor-converter-opendocument": "^1.0.0-alpha.12",
"asciidoctor-extension-interactive-runner": "^1.2.5",
"asciidoctor-prism-extension": "^2.0.7",
"blue-tape": "^1.0.0",
"chokidar": "^3.5.3",
"eslint": "^6.8.0",
"eslint-plugin-react": "^7.28.0",
"ora": "^4.1.1",
"tap-spec": "^5.0.0",
"tape-spawn": "^1.4.2"
},
"eslintConfig": {
"root": true,
"parserOptions": {
"ecmaVersion": 2018,
"ecmaFeatures": {
"jsx": true
}
},
"extends": [
"eslint:recommended"
],
"env": {
"es6": true,
"node": true,
"commonjs": true
},
"rules": {
"callback-return": 2,
"curly": 2,
"eqeqeq": 2,
"global-require": 2,
"handle-callback-err": 2,
"no-console": 0,
"no-path-concat": 1,
"no-sync": 1,
"no-undef": 2,
"no-unused-vars": 1,
"no-use-before-define": 1,
"quotes": [
"error",
"single"
],
"strict": [
2,
"global"
],
"max-len": [
"error",
{
"code": 63
}
]
}
}
}