-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
100 lines (100 loc) · 2.65 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
{
"name": "ctrly",
"version": "0.7.0",
"description": "Lightweight and dependency-free content toggling with a focus on accessibility.",
"repository": "[email protected]:jsor/ctrly.git",
"author": {
"name": "Jan Sorgalla",
"url": "https://sorgalla.com",
"email": "[email protected]"
},
"license": "MIT",
"keywords": [
"toggle",
"control",
"lightweight",
"accessible",
"accessibility",
"a11y"
],
"main": "dist/ctrly.js",
"browser": "dist/ctrly.min.js",
"module": "dist/ctrly.mjs",
"files": [
"dist",
"src"
],
"browserslist": [
"Chrome 49",
"Edge 15",
"Firefox 52",
"IE 10",
"Safari 10.1"
],
"xo": {
"space": 4,
"rules": {
"unicorn/no-array-for-each": "off",
"unicorn/prefer-dataset": "off",
"unicorn/prefer-dom-node-append": "off",
"unicorn/prefer-dom-node-dataset": "off",
"unicorn/prefer-dom-node-remove": "off",
"unicorn/prefer-node-append": "off",
"unicorn/prefer-node-remove": "off",
"unicorn/prefer-query-selector": "off"
},
"ignores": [
"examples/**/*.js",
"karma.conf.js",
"test/index.js"
],
"globals": [
"assert"
],
"envs": [
"node",
"browser",
"mocha"
]
},
"scripts": {
"build": "npm run lint && rollup --config && npm run size",
"build:test": "rollup --config=test/rollup.config.js --file=test/build.js test/index.js",
"dev": "karma start",
"lint": "xo",
"size": "size-limit --limit 3KB src/ctrly.js",
"test": "npm run lint && karma start --single-run",
"test:browserstack": "npm run build:test && browserstack-runner",
"watch": "rollup --config --watch"
},
"devDependencies": {
"@babel/core": "^7.14.0",
"@babel/preset-env": "^7.14.0",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^18.0.0",
"@rollup/plugin-node-resolve": "^11.2.1",
"@size-limit/preset-small-lib": "^4.10.2",
"browserstack-runner": "^0.9.4",
"chai": "^4.3.4",
"core-js": "^3.11.1",
"domestique": "^1.7.0",
"karma": "^6.3.2",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^3.1.0",
"karma-coverage": "^2.0.3",
"karma-coverage-istanbul-reporter": "^3.0.3",
"karma-firefox-launcher": "^1.3.0",
"karma-mocha": "^2.0.1",
"karma-mocha-reporter": "^2.2.5",
"karma-rollup-preprocessor": "^7.0.7",
"mocha": "^8.3.2",
"rollup": "^2.46.0",
"rollup-plugin-clean": "^1.0.0",
"rollup-plugin-cleanup": "^3.2.1",
"rollup-plugin-istanbul": "^3.0.0",
"rollup-plugin-terser": "^7.0.2",
"simulant": "^0.2.2",
"size-limit": "^4.10.2",
"xo": "^0.39.1"
}
}