-
Notifications
You must be signed in to change notification settings - Fork 35
/
package.json
73 lines (73 loc) · 2.09 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
{
"name": "easy-toggle-state",
"version": "1.16.0",
"license": "MIT",
"description": "A tiny JavaScript library to easily toggle the state of any HTML element in any contexts, and create UI components in no time.",
"main": "src/main/main.js",
"keywords": [
"toggle",
"switch",
"accessibility",
"ui components",
"dropdown",
"modal",
"tooltip",
"navigation button",
"lightbox",
"tabs",
"checkbox",
"radio"
],
"author": "Matthieu Bué <https://twikito.com>",
"repository": {
"type": "git",
"url": "git+https://github.com/Twikito/easy-toggle-state.git"
},
"bugs": {
"url": "https://github.com/Twikito/easy-toggle-state/issues"
},
"homepage": "https://twikito.github.io/easy-toggle-state/",
"scripts": {
"filesize-for-doc": "node tasks/generate-file-size.js",
"demos-for-doc": "node tasks/generate-demo-database.js",
"doc": "browser-sync start --server --files 'docs/**/*.*' --startPath '/docs'",
"precommit": "lint-staged",
"lint": "eslint src",
"lint:fix": "eslint --fix src",
"prettier": "prettier --debug-check src/**/*.js",
"prettier:write": "prettier --write src/**/*.js",
"test": "npm run lint",
"clean": "del-cli --force dist",
"bundle:es6": "cross-env NODE_ENV=es6 rollup -c",
"bundle:es6:min": "cross-env NODE_ENV=es6 OUT_STYLE=min rollup -c",
"bundle:es5": "cross-env NODE_ENV=es5 rollup -c",
"bundle:es5:min": "cross-env NODE_ENV=es5 OUT_STYLE=min rollup -c",
"build": "npm test && npm run clean && npm-run-all -p bundle:** && npm run filesize-for-doc"
},
"lint-staged": {
"src/**/*.js": [
"prettier --write",
"eslint --fix",
"git add"
]
},
"dependencies": {},
"devDependencies": {
"@babel/core": "^7.12.10",
"@babel/preset-env": "^7.12.11",
"browser-sync": "^2.26.13",
"cross-env": "^7.0.3",
"del-cli": "^3.0.0",
"eslint": "^7.16.0",
"gzip-size": "^6.0.0",
"husky": "^4.3.6",
"lint-staged": "^10.5.3",
"npm-run-all": "^4.1.5",
"prettier": "^2.2.1",
"rollup": "^2.35.1",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-license": "^2.2.0",
"rollup-plugin-replace": "^2.2.0",
"rollup-plugin-terser": "^7.0.2"
}
}