-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
67 lines (67 loc) · 2.38 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
{
"name": "@lyoyl/s-ray",
"type": "module",
"version": "0.1.0",
"description": "A user interface library powered by web components tech",
"main": "dist/s-ray.min.js",
"module": "dist/s-ray-bundler.js",
"types": "dist/s-ray.d.ts",
"exports": {
".": {
"types": "./dist/s-ray.d.ts",
"module": "./dist/s-ray-bundler.js",
"import": "./dist/s-ray-bundler.js",
"node": {
"production": "./dist/s-ray.min.ssr.js",
"development": "./dist/s-ray.ssr.js",
"default": "./dist/s-ray.min.ssr.js"
}
}
},
"files": [
"dist/s-ray.js",
"dist/s-ray.js.map",
"dist/s-ray.ssr.js",
"dist/s-ray.ssr.js.map",
"dist/s-ray.min.js",
"dist/s-ray.min.js.map",
"dist/s-ray.min.ssr.js",
"dist/s-ray.min.ssr.js.map",
"dist/s-ray-bundler.js",
"dist/s-ray-bundler.js.map",
"dist/s-ray.d.ts",
"package.json"
],
"scripts": {
"build:only": "node ./scripts/build.js",
"build": "node ./scripts/build.js && npm run dts",
"tsc": "tsc",
"dts": "npm run tsc & api-extractor run --local --verbose",
"dts-test": "npm run dts & tsd --files dts-tests/*test-d.ts",
"demo": "esbuild demo/demo.ts --outdir=demo/js --bundle --servedir=demo --define:__ENV__='development' --define:__SSR__=false",
"test": "npm run test:csr && npm run test:ssr && npm run test:hydrating",
"test:csr": "web-test-runner --config ./web-test-runner.config.js",
"test:csr:watch": "web-test-runner --config ./web-test-runner.config.js --watch",
"test:ssr": "web-test-runner --config ./web-test-runner.ssr.config.js",
"test:ssr:watch": "web-test-runner --config ./web-test-runner.ssr.config.js --watch",
"test:hydrating": "web-test-runner --config ./web-test-runner.hydrating.config.js",
"test:hydrating:watch": "web-test-runner --config ./web-test-runner.hydrating.config.js --watch",
"format": "dprint fmt --config ./dprint.json"
},
"devDependencies": {
"@esm-bundle/chai": "4.3.4-fix.0",
"@microsoft/api-extractor": "^7.47.7",
"@types/mocha": "^10.0.7",
"@types/node": "^22.4.0",
"@types/sinon": "^17.0.3",
"@web/dev-server-esbuild": "^1.0.2",
"@web/test-runner": "^0.18.3",
"@web/test-runner-commands": "^0.9.0",
"@web/test-runner-playwright": "^0.11.0",
"dprint": "^0.47.2",
"esbuild": "^0.23.0",
"sinon": "^18.0.0",
"tsd": "^0.31.1",
"typescript": "^5.5.4"
}
}