forked from developit/htm
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
49 lines (49 loc) · 1.61 KB
/
package.json
File metadata and controls
49 lines (49 loc) · 1.61 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
{
"name": "htm",
"version": "0.5.1",
"description": "The Tagged Template syntax for Virtual DOM. Only browser-compatible syntax.",
"main": "dist/htm.js",
"umd:main": "dist/htm.js",
"module": "dist/htm.mjs",
"scripts": {
"build": "npm run -s build:main && npm run -s build:preact && npm run -s build:babel",
"build:main": "microbundle src/index.mjs -f es,umd --no-sourcemap --target web",
"build:preact": "microbundle src/integrations/preact/index.mjs -o preact/index.js -f es,umd --no-sourcemap --target web && cp src/integrations/preact/{index.d.ts,package.json} preact/",
"build:babel": "microbundle src/babel.mjs -o babel/index.js -f es,cjs --target node --no-compress --no-sourcemap",
"test": "eslint src/**/*.mjs test && jest test",
"release": "npm run build && git checkout --detach && git add -f babel dist preact && git commit -am \"$npm_package_version\" && git tag $npm_package_version && git push --tags && git checkout master"
},
"files": [
"dist",
"preact",
"babel",
"src"
],
"eslintConfig": {
"extends": "developit",
"rules": {
"prefer-const": 2
}
},
"repository": "developit/htm",
"keywords": [
"Hyperscript Tagged Markup",
"tagged template",
"template literals",
"html",
"htm",
"jsx",
"virtual dom",
"hyperscript"
],
"author": "Jason Miller <jason@developit.ca>",
"license": "Apache-2.0",
"homepage": "https://github.com/developit/htm",
"devDependencies": {
"eslint": "^5.2.0",
"eslint-config-developit": "^1.1.1",
"jest": "^23.4.2",
"microbundle": "^0.6.0",
"preact": "^8.2.9"
}
}