forked from jorgebucaran/hyperapp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
42 lines (42 loc) · 1.36 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
{
"name": "hyperapp",
"description": "1 KB JavaScript library for building frontend applications.",
"version": "0.16.2",
"main": "dist/hyperapp.js",
"jsnext:main": "src/index.js",
"module": "src/index.js",
"typings": "hyperapp.d.ts",
"license": "MIT",
"repository": "hyperapp/hyperapp",
"files": [
"src",
"dist",
"hyperapp.d.ts"
],
"author": "Jorge Bucaran",
"keywords": [
"hyperapp",
"elm",
"vdom"
],
"scripts": {
"test": "jest --coverage --no-cache && tsc -p test/ts",
"build": "npm run bundle && npm run minify",
"bundle": "rollup -i src/index.js -o dist/hyperapp.js -m -f umd -n hyperapp",
"minify": "uglifyjs dist/hyperapp.js -o dist/hyperapp.js --mangle --compress warnings=false --pure-funcs=Object.defineProperty -p relative --in-source-map dist/hyperapp.js.map --source-map dist/hyperapp.js.map",
"prepare": "npm run build",
"format": "prettier --semi false --write \"src/**/*.js\" \"{,test/ts/}*.{ts,tsx}\"",
"release": "npm run build && npm test && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"
},
"babel": {
"presets": "env"
},
"devDependencies": {
"babel-preset-env": "^1.6.1",
"jest": "^21.2.1",
"prettier": "^1.8.2",
"rollup": "^0.51.2",
"typescript": "^2.6.1",
"uglify-js": "^2.7.5"
}
}