-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
125 lines (125 loc) · 4.21 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
{
"name": "metamorphosis",
"description": "A css variable management library that helps create and organize variables into easily configurable themes.",
"version": "0.0.0-semantically-released",
"type": "module",
"module": "./dist/index.js",
"sideEffects": false,
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./*": {
"types": "./dist/*.d.ts",
"import": "./dist/*"
}
},
"scripts": {
"debug": "ts-node -r tsconfig-paths/register -T --esm",
"build": "vite build",
"build:dev": "vite build --mode development",
"build:watch": "vite build --watch --mode production",
"build:types": "tsc -p tsconfig.types.json && npm run build:types:fix",
"build:types:fix": "tsc-alias -p tsconfig.types.json --debug",
"lint:eslint": "eslint \"{src,tests,bin}/**/*.{cjs,js,ts}\" \"*.{cjs,js,ts}\" --max-warnings=0 --report-unused-disable-directives",
"lint:types": "tsc --noEmit --pretty",
"lint:commits": "commitlint --from $(git rev-list --max-parents=0 HEAD) --to HEAD --verbose",
"lint:imports": "madge --circular --extensions ts ./src",
"lint": "npm run lint:types && npm run lint:eslint",
"coverage": "vitest --exclude '.direnv/**/*' --coverage",
"coverage:dev": "vitest --exclude '.direnv/**/*' --watch --coverage",
"test": "npm run lint:types && vitest run --exclude '.direnv/**/*'",
"test:watch": "vitest --watch --exclude '.direnv/**/*'",
"doc": "typedoc --options typedoc.config.cjs",
"doc:watch": "onchange -i \"src/**/*.ts\" \"typedoc.config.cjs\" -- npm run doc",
"doc:serve": "http-server docs --port=5001",
"doc:dev": "concurrently \"npm run doc:watch\" \"npm run doc:serve\"",
"doc:check-invalid": "typedoc --options typedoc.config.cjs --listInvalidSymbolLinks",
"gen:exports": "indexit update --ignore {Units,utils,internal}.ts -o '${path}.js'",
"actions:debug": "act -r -v -j build",
"prepare": "husky && npm run build"
},
"dependencies": {
"@alanscodelog/utils": "^4.0.0"
},
"peerDependencies": {
"colorjs.io": "^0.4.3",
"tailwindcss": "^3.4.3"
},
"peerDependenciesMeta": {
"colorjs.io": {
"optional": true
},
"tailwindcss": {
"optional": true
}
},
"devDependencies": {
"@alanscodelog/commitlint-config": "^3.0.1",
"@alanscodelog/eslint-config": "5.0.0-beta.3",
"@alanscodelog/semantic-release-config": "^4.1.2",
"@alanscodelog/tsconfigs": "^4.0.1",
"@commitlint/cli": "^19.3.0",
"@types/node": "^20.12.12",
"@vitest/coverage-c8": "^0.33.0",
"colorjs.io": "^0.4.3",
"concurrently": "^8.2.2",
"cross-env": "^7.0.3",
"fast-glob": "^3.3.2",
"http-server": "^14.1.1",
"husky": "^9.0.11",
"indexit": "2.1.0-beta.3",
"jsdom": "^24.1.0",
"madge": "^7.0.0",
"onchange": "^7.1.0",
"semantic-release": "^23.1.1",
"tailwindcss": "^3.4.3",
"ts-node": "^10.9.2",
"tsc-alias": "^1.8.10",
"typedoc": "^0.25.13",
"typescript": "^5.4.5",
"vite": "^5.2.12",
"vite-plugin-externalize-deps": "^0.8.0",
"vitest": "^1.6.0"
},
"files": [
"src",
"dist"
],
"release": {
"extends": [
"@alanscodelog/semantic-release-config"
]
},
"commitlint": {
"extends": [
"@alanscodelog"
]
},
"engines": {
"node": ">=20.0.0"
},
"author": "Alan <[email protected]>",
"repository": "https://github.com/alanscodelog/metamorphosis",
"keywords": [
"css",
"variables",
"management",
"theme",
"theming",
"tailwind"
],
"license": "MIT",
"@comments": {
"exports": "Tailwind won't work unless a require is added or I direct the subpath directly to the file. ???",
"peerDependencies": "colorsjs.io is only needed if using the base theme",
"scripts": {
"test": "Runs `lint:types` before (so that flags can be passed to the test command) so that we can test type assertions. See expect_type function in @alanscodelog/utils.",
"lint:commits": "Lints all unpushed commits in the active branch.",
"prepare": "Needed so that if we pull the package from git it will get built and installed properly. The HUSKY stuff is a workaround for https://github.com/typicode/husky/issues/1213",
"actions:debug": "For debugging github build action locally with nektos/act. Requires act and docker. Note: Cache will never work locally because of https://github.com/nektos/act/issues/285"
}
},
"private": false
}