-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathpackage.json
More file actions
73 lines (73 loc) · 2 KB
/
package.json
File metadata and controls
73 lines (73 loc) · 2 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
{
"name": "@hyperapp/fx",
"version": "0.6.1",
"description": "Effects as data for Hyperapp",
"main": "dist/hyperappFx.js",
"module": "src/index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/hyperapp/fx.git"
},
"peerDependencies": {
"hyperapp": "^1.1.2"
},
"devDependencies": {
"babel-preset-env": "=1.6.1",
"eslint": "=4.19.0",
"eslint-plugin-compat": "=2.2.0",
"hyperapp": "=1.1.2",
"jest": "=22.4.2",
"prettier": "=1.11.1",
"rollup": "=0.57.1",
"uglify-js": "=3.3.15"
},
"scripts": {
"clean": "npx 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": "jest --coverage --no-cache",
"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",
"prepare": "npm run build",
"release": "./pre-flight-tests && npm run clean && npm i && git tag $npm_package_version && git push && git push --tags && npm publish"
},
"prettier": {
"semi": false
},
"babel": {
"presets": "env"
},
"eslintConfig": {
"extends": "eslint:recommended",
"plugins": [
"compat"
],
"parserOptions": {
"sourceType": "module"
},
"env": {
"browser": true
},
"rules": {
"no-use-before-define": "error",
"compat/compat": "error"
},
"settings": {
"polyfills": [
"fetch"
]
}
},
"browserslist": [
"IE 10"
],
"author": "Wolfgang Wedemeyer <wolf@okwolf.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/hyperapp/fx/issues"
},
"homepage": "https://github.com/hyperapp/fx"
}