-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
65 lines (65 loc) · 2.32 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
{
"name": "torus-dom",
"version": "0.4.8",
"description": "Minimal JS UI framework focused on being lightweight and free of dependencies",
"repository": "[email protected]:thesephist/torus.git",
"author": "Linus Lee <[email protected]>",
"private": false,
"main": "dist/index.min.js",
"module": "src/index.js",
"types": "types/index.d.ts",
"license": "MIT",
"scripts": {
"test": "NODE_TEST_ENV=development karma start karma.conf.js",
"test:prod": "NODE_TEST_ENV=production karma start karma.conf.js",
"test:size": "bundlesize",
"lint": "eslint ./src/*.js ./renderers/*.js ./samples/**/main.js ./build/*.js ./doc/*.js ./test/*.js",
"build": "node build/build.js && cp dist/index.min.js samples/hn-reader/index.min.js && cp dist/index.min.js samples/graph-calc/index.min.js && cp dist/index.min.js samples/markus/index.min.js && cp dist/index.min.js samples/gravity/index.min.js && cp dist/index.min.js samples/mondrian/index.min.js && cp dist/index.min.js samples/conway/index.min.js",
"verify": "yarn build && yarn test:prod && yarn test:size",
"clean": "git clean -fxd",
"docs": "node doc/generate.js",
"prepublishOnly": "yarn build",
"deploy:hn": "surge -p samples/hn-reader/ --domain https://torushn.surge.sh",
"deploy:graph": "surge -p samples/graph-calc/ --domain https://graphcalc.surge.sh",
"deploy:markus": "surge -p samples/markus/ --domain https://markuswriter.surge.sh",
"deploy:gravity": "surge -p samples/gravity/ --domain https://tgrav.surge.sh",
"deploy:conway": "surge -p samples/conway/ --domain https://conwaygame.surge.sh",
"deploy:mondrian": "surge -p samples/mondrian/ --domain https://mondrian.surge.sh"
},
"files": [
"src",
"dist",
"renderers",
"types"
],
"devDependencies": {
"bundlesize2": "^0.0.31",
"chai": "^4.3.7",
"eslint": "^8.29.0",
"karma": "^6.4.1",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^3.1.1",
"karma-coverage": "^2.2.0",
"karma-mocha": "^2.0.1",
"karma-mocha-reporter": "^2.2.5",
"marked": "^4.2.4",
"mocha": "^10.1.0",
"nyc": "^15.0.0",
"webpack": "^5.75.0"
},
"keywords": [
"ui",
"vdom",
"virtual",
"torus",
"components",
"router",
"styled"
],
"bundlesize": [
{
"path": "./dist/*.min.js",
"maxSize": "5kB"
}
]
}