-
Notifications
You must be signed in to change notification settings - Fork 17
/
package.json
71 lines (71 loc) · 2.13 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
66
67
68
69
70
71
{
"name": "hyperapp-fx",
"version": "2.0.0-beta.2",
"description": "Effects for use with Hyperapp",
"main": "dist/hyperappFx.js",
"type": "module",
"module": "src/index.js",
"peerDependencies": {
"hyperapp": "^2.0.0"
},
"devDependencies": {
"eslint": "=8.8.0",
"eslint-plugin-compat": "=4.0.2",
"jest": "=27.5.0",
"jsdoc-to-markdown": "=7.1.1",
"jsdom": "=19.0.0",
"prettier": "=2.5.1",
"rollup": "=2.67.0",
"uglify-js": "=3.15.0"
},
"scripts": {
"clean": "npx --ignore-existing --quiet rimraf coverage dist node_modules",
"format": "prettier --write \"{src,test}/**/*.js\"",
"format:check": "prettier --list-different \"{src,test}/**/*.js\"",
"lint": "eslint {src,test}/**/*.js",
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js --coverage --no-cache",
"doc": "jsdoc2md src/fx/*.js src/subs/*.js > api.md",
"bundle": "rollup -i src/index.js -o dist/hyperappFx.js -m -f umd -n hyperappFx",
"minify": "uglifyjs dist/hyperappFx.js -o dist/hyperappFx.js -mc pure_funcs=['Object.defineProperty'] --source-map includeSources,url=hyperappFx.js.map",
"check": "npm run format:check && npm run lint && npm t",
"build": "npm run check && npm run bundle && npm run minify",
"release:dry": "npm run clean && npm i && npm run check && npm run build && npm run doc",
"release": "node --experimental-json-modules release"
},
"eslintConfig": {
"extends": "eslint:recommended",
"plugins": [
"compat"
],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"env": {
"browser": true
},
"rules": {
"no-use-before-define": "error",
"compat/compat": "error"
},
"settings": {
"polyfills": [
"fetch"
]
}
},
"browserslist": [
"IE 10"
],
"jest": {
"testEnvironment": "jsdom",
"transform": {}
},
"author": "Wolfgang Wedemeyer <[email protected]>",
"license": "MIT",
"repository": "okwolf/hyperapp-fx",
"homepage": "https://github.com/okwolf/hyperapp-fx",
"bugs": {
"url": "https://github.com/okwolf/hyperapp-fx/issues"
}
}