forked from tbranyen/diffhtml
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
57 lines (57 loc) · 2.47 KB
/
Copy pathpackage.json
File metadata and controls
57 lines (57 loc) · 2.47 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
{
"name": "diffhtml",
"version": "1.0.0-beta.30",
"description": "Build JavaScript components and apps using a Virtual DOM",
"type": "module",
"main": "dist/cjs/index",
"module": "dist/es/index",
"types": "dist/typings/index.d.ts",
"author": "Tim Branyen (@tbranyen)",
"repository": "https://github.com/tbranyen/diffhtml",
"license": "MIT",
"scripts": {
"prepublishOnly": "npm run build",
"clean": "rm -rf dist/* && mkdir -p dist",
"check-js": "tsc -p jsconfig.json",
"build": "npm run clean && npm run check-js && npm run build-main && npm run build-lite && npm run build-cjs && npm run build-esm && npm run build-min",
"build-cjs": "NODE_ENV=cjs babel lib -d dist/cjs && sh ../../post-cjs.sh",
"build-esm": "NODE_ENV=esm babel lib -d dist/es",
"build-main": "NODE_ENV=umd rollup -c rollup.main.config.js",
"build-lite": "NODE_ENV=umd rollup -c rollup.lite.config.js",
"build-min": "npm run build-main-min && npm run build-lite-min",
"build-main-min": "NODE_ENV=min rollup -c rollup.main.config.js && terser dist/diffhtml.min.js -o dist/diffhtml.min.js -m -c",
"build-lite-min": "NODE_ENV=min rollup -c rollup.lite.config.js && terser dist/diffhtml-lite.min.js -o dist/diffhtml-lite.min.js -m -c",
"watch-main": "NODE_ENV=umd rollup -c rollup.main.config.js -w",
"watch-lite": "NODE_ENV=umd rollup -c rollup.lite.main.config.js -w",
"test": "mocha",
"test-cov": "NODE_ENV=test+cov c8 -r=lcov mocha",
"test-watch": "NODE_ENV=test mocha --color test/_setup test test/integration/*.js -w",
"test-debug": "NODE_ENV=test mocha --inspect --debug-brk test/_setup test test/integration/*.js"
},
"devDependencies": {
"@babel/cli": "^7.19.3",
"@babel/core": "^7.19.6",
"@babel/plugin-transform-runtime": "^7.19.6",
"@babel/runtime": "^7.20.1",
"@rollup/plugin-babel": "^6.0.2",
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-replace": "^5.0.1",
"@types/mocha": "^10.0.0",
"@types/node": "^18.11.9",
"babel-plugin-istanbul": "^6.1.1",
"babel-preset-diffhtml-imports": "^1.0.0-beta.30",
"c8": "^7.12.0",
"coveralls": "^3.1.1",
"extless-loader": "^1.0.0",
"jsdom": "^20.0.2",
"mocha": "^10.1.0",
"rollup": "^3.2.5",
"rollup-plugin-hypothetical": "^2.1.1",
"rollup-plugin-visualizer": "^5.8.3",
"rollup-watch": "^4.3.1",
"sinon": "^14.0.1",
"terser": "5.15.1",
"typescript": "^4.8.4"
},
"gitHead": "091b497588f6f48221630431e2f1eeb7f2db37cb"
}