-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
64 lines (64 loc) · 1.56 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
{
"name": "lite-s",
"version": "1.0.0",
"description": "A simple state manage library with pull-push based design.",
"keywords": [
"state",
"s.js",
"lite",
"reactive",
"composable",
"dependency-tracking",
"typescript",
"cdn"
],
"author": {
"name": "Beeno Tung",
"email": "aabbcc1241@yahoo.com.hk",
"url": "https://beeno-tung.surge.sh"
},
"license": "BSD-2-Clause",
"repository": {
"type": "git",
"url": "git+https://github.com/beenotung/lite-s.git"
},
"homepage": "https://github.com/beenotung/lite-s#readme",
"bugs": {
"url": "https://github.com/beenotung/lite-s/issues"
},
"files": [
"core.d.ts",
"core.js",
"core.mjs",
"s.js"
],
"type": "commonjs",
"browser": "./s.js",
"types": "./core.d.ts",
"main": "./core.js",
"exports": {
"require": "./core.js",
"import": "./core.mjs"
},
"scripts": {
"test": "run-p test:*",
"test:tsc": "tsc --noEmit",
"test:cjs": "node test.js",
"test:mjs": "node test.mjs",
"test:ts": "ts-node test.ts",
"build:dts": "tsc -p tsconfig.dts.json",
"build:esm": "esbuild core.ts --format=esm --outfile=core.mjs",
"build:cjs": "esbuild core.ts --format=cjs --outfile=core.js",
"build:iife": "esbuild browser.ts --format=iife --bundle --outfile=s.js",
"build": "run-p build:*"
},
"devDependencies": {
"@types/node": "^18.11.15",
"esbuild": "^0.15.18",
"npm-run-all": "^4.1.5",
"serve-lite": "^1.1.0",
"ts-node": "^10.9.1",
"ts-node-dev": "^2.0.0",
"typescript": "^4.9.4"
}
}