-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
82 lines (82 loc) · 2.95 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
{
"name": "think-metric",
"version": "1.0.0",
"description": "🇺🇸 Americans for Metrication",
"license": "CC0-1.0",
"type": "module",
"repository": {
"type": "git",
"url": "git+https://github.com/center-key/think-metric.git"
},
"homepage": "https://think-metric.org",
"bugs": "https://github.com/center-key/think-metric/issues",
"docs": "https://github.com/center-key/think-metric#readme",
"author": "Center Key (https://centerkey.com)",
"keywords": [
"metric",
"metrication",
"units-of-measure"
],
"jshintConfig": {
"esversion": 11,
"strict": "implied",
"eqeqeq": true,
"undef": true,
"unused": true,
"varstmt": true,
"browser": true,
"node": true,
"globals": {
"dna": false
}
},
"runScriptsConfig": {
"clean": [
"rimraf build docs"
],
"generated": [
"replacer src/templates/table-of-products.html --content={{lt}}time{{space}}datetime{{equals}}{{file.timestamp}}{{gt}}{{file.modified}}{{lt}}/time{{gt}} src/templates/generated --concat=products-timestamp.html",
"replacer src/website/article --ext=.html --content={{lt}}li{{gt}}{{lt}}a{{space}}href{{equals}}{[webRoot]}/article/{{file.folder}}{{gt}}{{articleTitle}}{{lt}}/a{{gt}}{{lt}}/li{{gt}} src/templates/generated --find=[webRoot] --replacement={webRoot} --concat=articles.html"
],
"lint": [
"jshint src"
],
"build": [
"copy-folder src/website build --ext=.png,.jpg,.js",
"lessc src/website/style.less build/style.css",
"replacer src/website --ext=.html build",
"replacer src/redirects --ext=.html build",
"copy-file build/elsewhere/article-list.html build/article/index.html --move"
],
"publish": [
"rev-web-assets build docs --meta-content-base=https://think-metric.org",
"copy-file src/cname.txt docs/CNAME",
"copy-file src/website/assets/bookmark.png docs/graphics --folder"
],
"interactive": [
"chokidar src --command 'run-scripts lint build publish'",
"browser-sync . --startPath docs --files docs"
]
},
"scripts": {
"pretest": "run-scripts clean lint generated build publish",
"test": "html-validator docs '--ignore=Section lacks heading.'",
"interactive": "npm run pretest && run-scripts interactive --parallel"
},
"dependencies": {
"@fortawesome/fontawesome-free": "~6.7",
"browser-sync": "~3.0",
"chokidar-cli": "~3.0",
"copy-file-util": "~1.2",
"copy-folder-util": "~1.1",
"dna-engine": "~3.2",
"jshint": "~2.13",
"less": "~4.2",
"replacer-util": "~1.3",
"rev-web-assets": "~1.4",
"rimraf": "~6.0",
"run-scripts-util": "~1.3",
"w3c-html-validator": "~1.8",
"web-ignition": "~2.2"
}
}