-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
53 lines (53 loc) · 1.51 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
{
"name": "lightue",
"version": "0.4.4",
"description": "A lightweight and simple model-view framework inspired by Vue.js",
"browser": "dist/cjs.js",
"module": "src/lightue.js",
"unpkg": "dist/lightue.min.js",
"scripts": {
"build-browser": "rollup src/lightue.js --format iife --name 'Lightue' --file dist/iife.js",
"build-node": "rollup src/lightue.js --format cjs --file dist/cjs.js",
"build": "yarn build-browser && yarn build-node && yarn compat && yarn compress",
"compat": "yarn babel dist/iife.js -o dist/iife-compat.js",
"compress": "terser dist/iife.js -c -m -o dist/lightue.min.js && terser dist/iife-compat.js -c -m -o dist/lightue-compat.min.js",
"docs:build": "node publish-doc.js",
"docs": "cd docs && python -m http.server 3000",
"test": "jest --env=jsdom"
},
"repository": {
"type": "git",
"url": "git+https://github.com/smalllong/lightue.git"
},
"author": "Xiaolong Li",
"license": "MIT",
"devDependencies": {
"@babel/cli": "^7.21.0",
"@babel/core": "^7.21.3",
"@babel/preset-env": "^7.20.2",
"director": "^1.2.8",
"jest": "^28.1.0",
"jest-environment-jsdom": "^28.1.0",
"todomvc-app-css": "^2.4.2",
"todomvc-common": "^1.0.5"
},
"files": [
"src",
"dist/cjs.js",
"dist/lightue-compat.min.js",
"dist/lightue.min.js"
],
"keywords": [
"lightue",
"lightweight",
"reactive",
"state",
"frontend",
"framework",
"virtual dom",
"vdom"
],
"browserslist": [
"firefox >= 29"
]
}