-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
107 lines (107 loc) · 3.2 KB
/
package.json
File metadata and controls
107 lines (107 loc) · 3.2 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
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
{
"name": "costro",
"version": "2.2.0",
"description": "Build web applications with Components, Store and Router in 3KB",
"keywords": [
"costro",
"costro app",
"costro js",
"components",
"framework",
"ui",
"router",
"dom",
"jsx",
"store",
"template-string"
],
"homepage": "https://costro.js.org",
"bugs": {
"url": "https://github.com/costrojs/costro/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/costrojs/costro.git"
},
"funding": {
"type": "individual",
"url": "https://github.com/sponsors/yoriiis"
},
"license": "MIT",
"author": "Yoriiis",
"exports": {
".": {
"types": "./types/index.d.ts",
"import": "./dist/costro.esm.mjs",
"require": "./dist/costro.cjs.js",
"default": "./dist/costro.js"
},
"./jsx": {
"types": "./types/jsx.d.ts",
"import": "./dist/jsx.esm.mjs",
"require": "./dist/jsx.cjs.js",
"default": "./dist/jsx.js"
},
"./jsx-runtime": {
"types": "./types/jsx.d.ts",
"import": "./dist/jsx-runtime.esm.js",
"require": "./dist/jsx-runtime.cjs.js",
"default": "./dist/jsx-runtime.cjs.js"
},
"./jsx-dev-runtime": {
"types": "./types/jsx.d.ts",
"import": "./dist/jsx-dev-runtime.esm.js",
"require": "./dist/jsx-dev-runtime.cjs.js",
"default": "./dist/jsx-dev-runtime.cjs.js"
}
},
"main": "dist/costro.cjs.js",
"types": "./types/index.d.ts",
"files": [
"dist",
"!dist/**/*.map",
"types"
],
"scripts": {
"biome:check": "biome check",
"biome:fix": "biome check --write",
"build": "rm -rf ./dist/ && rollup --config ./config/rollup.config.js --bundleConfigAsCjs --environment ENV:production && npm run tsc:d:only",
"dev": "rm -rf ./dist/ && rollup --config ./config/rollup.config.js --bundleConfigAsCjs --environment ENV:development --watch --sourcemap",
"dev:types": "tsc --noEmit --watch",
"dev:unit": "rm -rf ./coverage/ && jest --config ./config/jest.config.js --watchAll --coverage",
"e2e": "playwright test --config ./config/playwright.config.ts",
"e2e:ui": "playwright test --ui --config ./config/playwright.config.ts",
"pre:publish": "npm run build && npm run test",
"test": "npm run test:unit && npm run test:fixtures",
"test:fixtures": "rm -rf ./fixtures/dist && webpack --mode=production --config=./tests/fixtures/webpack.config.js",
"test:unit": "rm -rf ./coverage/ && jest --config ./config/jest.config.js --verbose --coverage",
"tsc:d:only": "rm -rf ./types && tsc --declaration --emitDeclarationOnly --declarationDir './types'"
},
"prettier": "./config/prettier.config.js",
"devDependencies": {
"@babel/core": "^7.28.5",
"@babel/plugin-transform-react-jsx": "^7.27.1",
"@babel/preset-env": "^7.28.5",
"@biomejs/biome": "^2.3.6",
"@playwright/test": "^1.56.1",
"@rollup/plugin-buble": "^1.0.3",
"@rollup/plugin-terser": "^1.0.0",
"@rollup/plugin-typescript": "^12.3.0",
"@types/jest": "^29.5.14",
"@types/node": "^24.10.1",
"babel-loader": "^10.0.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^30.2.0",
"jest-util": "^29.7.0",
"rollup": "^4.53.3",
"terser-webpack-plugin": "^5.3.14",
"ts-jest": "^29.4.5",
"tslib": "^2.8.1",
"typescript": "^5.9.3",
"webpack": "^5.103.0",
"webpack-cli": "^6.0.1"
},
"engines": {
"node": ">=20.18.0"
}
}