-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
57 lines (57 loc) · 2.47 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
{
"name": "reading-duration-bookmarklet",
"version": "0.1.0",
"description": "Dynamic Bookmarklet to detect the reading time of an article",
"main": "readingDurationBookmarklet.js",
"scripts": {
"minify:compile": "babili readingDurationBookmarklet.js --out-file readingDurationBookmarklet.min.js",
"minify:wrap": "cat readingDurationBookmarklet.min.js | wrap 'javascript:!(()=>{' '})();' > tmpfile && cat tmpfile > readingDurationBookmarklet.min.js && rm tmpfile",
"minify": "yarn run minify:compile && yarn run minify:wrap",
"less": "lessc --no-ie-compat --no-js --clean-css docs/less/main.less docs/dist/css/readingDurationBookmarklet.min.css",
"update-fonts": "copyfiles -f node_modules/font-awesome/fonts/* docs/dist/fonts",
"pug:compile": "pug docs/index.pug",
"pug:watch": "pug docs/index.pug --watch",
"compile": "yarn run minify && yarn run pug:compile && yarn run update-fonts && yarn run less",
"lint:style": "stylelint --config .stylelintrc docs/less/*.less;",
"lint:js": "eslint --config .eslintrc.json src;",
"lint:pug": "pug-lint --config .pug-lintrc docs/**/*.pug;",
"lint:html": "htmlhint --config .htmlhintrc docs/index.html;",
"lint": "yarn run lint:style && yarn run lint:js && yarn run lint:pug && yarn run lint:html",
"test:unit": "mocha --colors --sort --check-leaks --use_strict -r mock-browser",
"test": "yarn run lint && yarn run test:unit",
"build": "yarn run compile && yarn run test && yarn clean"
},
"repository": {
"type": "git",
"url": "git+https://github.com/tomlutzenberger/readingDurationBookmarklet.git"
},
"author": "Tom Lutzenberger",
"license": "MIT",
"bugs": {
"url": "https://github.com/tomlutzenberger/readingDurationBookmarklet/issues"
},
"homepage": "https://tomlutzenberger.github.io/readingDurationBookmarklet/",
"devDependencies": {
"babel-plugin-minify-mangle-names": "^0.1.3",
"babel-plugin-minify-simplify": "^0.1.2",
"babel-plugin-minify-type-constructors": "^0.1.2",
"babili": "^0.1.4",
"cmd-wrap": "^1.0.4",
"copyfiles": "^2.2.0",
"eslint": "^7.0.0",
"eslint-config-standard": "^14.1.1",
"mocha": "^6.2.3",
"mock-browser": "^0.92.14",
"rewire": "^2.5.2"
},
"peerDependencies": {
"eslint-plugin-import": ">=2.18.0",
"eslint-plugin-node": ">=9.1.0",
"eslint-plugin-promise": ">=4.2.1",
"eslint-plugin-standard": ">=4.0.0"
},
"dependencies": {
"bootstrap": "^3.4.1",
"font-awesome": "^4.7.0"
}
}