forked from sandoche/Darkmode.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
86 lines (86 loc) · 2.33 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
{
"name": "darkmode-js",
"version": "1.5.8",
"description": "🌓 Add darkmode / nightmode to your website in a few seconds",
"main": "lib/darkmode-js.js",
"scripts": {
"build": "webpack --env dev && webpack --env build && npm run test",
"dev": "webpack --progress --colors --watch --env dev",
"serve": "http-server",
"test": "mocha --require babel-register --colors ./test/*.spec.js",
"test:watch": "mocha --require babel-register --colors -w ./test/*.spec.js",
"test:cover": "cross-env NODE_ENV=test nyc mocha --require babel-register --colors test/*.js",
"repl": "node -i -e \"$(< ./lib/darkmode-js.js)\"",
"prettier:app": "prettier --write src test && eslint --fix --ext .js",
"lint": "eslint --fix --ext .js"
},
"repository": {
"type": "git",
"url": "https://github.com/sandoche/Darkmode.js.git"
},
"keywords": [
"darkmode",
"dark",
"nightmode",
"night",
"dark-mode",
"night-mode",
"darktheme",
"dark-theme",
"vanilla",
"vanillajs",
"widget"
],
"author": "Sandoche Adittane",
"license": "MIT",
"bugs": {
"url": "https://github.com/sandoche/Darkmode.js/issues"
},
"homepage": "https://github.com/sandoche/Darkmode.js",
"devDependencies": {
"@babel/cli": "^7.0.0-beta.51",
"@babel/core": "^7.0.0-beta.51",
"@babel/preset-env": "^7.0.0-beta.51",
"babel-eslint": "^8.0.3",
"babel-loader": "^8.0.0-beta.4",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-plugin-istanbul": "^5.1.0",
"babel-preset-env": "^7.0.0-beta.3",
"babel-register": "^7.0.0-beta.3",
"chai": "^4.1.2",
"chai-dom": "^1.8.1",
"cross-env": "^5.2.0",
"eslint": "7.10.0",
"eslint-config-prettier": "6.0.0",
"eslint-loader": "^2.0.0",
"http-server": "^0.11.1",
"husky": "^4.2.3",
"jsdom": "11.11.0",
"jsdom-global": "3.0.2",
"lint-staged": "^10.0.8",
"mocha": "^4.0.1",
"nyc": "^14.1.1",
"prettier": "2.1.2",
"uglifyjs-webpack-plugin": "^1.2.7",
"webpack": "^4.12.2",
"webpack-cli": "^3.0.8",
"yargs": "^10.0.3"
},
"nyc": {
"sourceMap": false,
"instrument": false
},
"lint-staged": {
"*.{html,js}": [
"prettier --write"
],
"*.{js}": [
"eslint --fix --ext .js"
]
},
"husky": {
"hooks": {
"pre-commit": "yarn lint-staged"
}
}
}