/
package.json
60 lines (60 loc) · 1.87 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
{
"name": "@brandonaaron/dark-pref",
"version": "1.0.1",
"description": "Dark mode preference manager and optional web components.",
"author": "Brandon Aaron",
"license": "ISC",
"repository": {
"type": "git",
"url": "git+https://github.com/brandonaaron/dark-pref.git"
},
"exports": "./dist/index.js",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"type": "module",
"scripts": {
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"lint:fix:staged": "npx lint-staged --verbose",
"start": "run-p dev:*",
"test": "wtr src/*.test.ts",
"build": "run-s build:*",
"build:clean": "rimraf dist && rimraf docs",
"build:src": "rollup -c rollup.config.js",
"build:cem": "cem analyze --outdir dist --globs \"src/DarkPrefToggl*.ts\"",
"dev:serve": "wds --port 8888",
"dev:build": "rollup --watch -c rollup.config.js",
"prepublishOnly": "npm run build",
"prepare": "husky install"
},
"devDependencies": {
"@custom-elements-manifest/analyzer": "^0.9.0",
"@eslint/js": "^8.55.0",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^11.1.5",
"@stylistic/eslint-plugin": "^1.5.1",
"@types/chai": "^4.3.11",
"@types/mocha": "^10.0.6",
"@typescript-eslint/eslint-plugin": "^6.14.0",
"@typescript-eslint/parser": "^6.14.0",
"@web/dev-server": "^0.4.1",
"@web/dev-server-esbuild": "^1.0.1",
"@web/test-runner": "^0.18.0",
"@web/test-runner-mocha": "^0.9.0",
"@web/test-runner-playwright": "^0.11.0",
"chai": "npm:@esm-bundle/chai@^4.3.4-fix.0",
"eslint": "^8.55.0",
"happy-dom": "^12.10.3",
"husky": "^8.0.3",
"lint-staged": "^15.2.0",
"npm-run-all": "^4.1.5",
"rimraf": "^5.0.5",
"rollup": "^4.4.1",
"tslib": "^2.6.2",
"typescript": "^5.2.2"
},
"lint-staged": {
"*.{ts,js}": "eslint . --fix"
}
}