-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
78 lines (78 loc) · 2.33 KB
/
package.json
File metadata and controls
78 lines (78 loc) · 2.33 KB
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
{
"name": "dracula-css",
"version": "1.1.0",
"description": "Framework-agnostic Dracula theme for the web - CSS variables, Sass, and JS tokens",
"main": "dist/dracula.css",
"module": "dist/dracula-tokens.js",
"types": "dist/dracula-tokens.d.ts",
"style": "dist/dracula.css",
"sass": "src/scss/dracula.scss",
"files": [
"dist",
"src/scss"
],
"scripts": {
"build": "npm run build:css && npm run build:css:min && npm run build:css:vars && npm run build:js",
"build:css": "sass src/scss/dracula.scss dist/dracula.css --no-source-map",
"build:css:min": "sass src/scss/dracula.scss dist/dracula.min.css --style=compressed --no-source-map",
"build:css:vars": "sass src/scss/_variables.scss dist/dracula-variables.css --no-source-map",
"build:js": "esbuild src/js/tokens.ts --bundle --format=esm --outfile=dist/dracula-tokens.js && tsc src/js/tokens.ts --declaration --emitDeclarationOnly --outDir dist",
"watch": "sass src/scss/dracula.scss dist/dracula.css --watch",
"clean": "rm -rf dist",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"lint": "stylelint 'src/scss/**/*.scss'",
"lint:fix": "stylelint 'src/scss/**/*.scss' --fix",
"format": "prettier --write .",
"format:check": "prettier --check .",
"pretest": "npm run lint",
"prepublishOnly": "npm run build",
"prepare": "husky"
},
"repository": {
"type": "git",
"url": "git+https://github.com/dracula/css.git"
},
"keywords": [
"dracula",
"theme",
"dark-theme",
"css",
"css-variables",
"sass",
"scss",
"design-tokens",
"color-scheme",
"alucard",
"light-theme"
],
"author": "James Fishwick",
"license": "MIT",
"bugs": {
"url": "https://github.com/dracula/css/issues"
},
"homepage": "https://draculatheme.com/css",
"lint-staged": {
"*.{scss,css}": [
"stylelint --fix",
"prettier --write"
],
"*.{json,md,js,ts}": [
"prettier --write"
]
},
"devDependencies": {
"@types/jest": "^30.0.0",
"color-contrast-checker": "^2.1.0",
"esbuild": "^0.20.0",
"husky": "^9.1.7",
"jest": "^30.2.0",
"lint-staged": "^16.2.7",
"prettier": "^3.8.1",
"sass": "^1.70.0",
"stylelint": "^17.0.0",
"stylelint-config-standard-scss": "^17.0.0",
"typescript": "^5.3.0"
}
}