-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
103 lines (103 loc) · 2.63 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
{
"name": "formsquare",
"version": "1.0.0-beta.3",
"description": "Serialize html5 forms the smart way",
"keywords": [
"form",
"serialize",
"html",
"json"
],
"main": "dist/cjs/formsquare.js",
"unpkg": "dist/iife/formsquare.js",
"module": "dist/module/formsquare.js",
"repository": {
"type": "git",
"url": "https://github.com/runarberg/formsquare.git"
},
"scripts": {
"build": "NODE_ENV=production rollup -c && npm run type:defs",
"clean": "rm -fr .nyc_output coverage dist",
"compress": "gzip -fk -9 dist/iife/*.js && bzip2 -fk -9 dist/iife/*.js",
"dist": "npm run minify && npm run compress",
"lint": "eslint --ignore-path .ignore .",
"minify": "minify dist/iife/formsquare.js --mangle -o dist/iife/formsquare.min.js",
"prepare": "npm run build && npm run dist",
"pretty": "prettier --write --ignore-path .ignore **/*.{js,json}",
"test": "NODE_ENV=test nyc ava",
"test:report": "nyc report --reporter html",
"type": "flow",
"type:defs": "cp src/module.js \"$npm_package_main.flow\" && cp src/module.js \"$npm_package_module.flow\" && cp src/module.js \"$npm_package_unpkg.flow\""
},
"author": "Rúnar Berg Baugsson Sigríðarson <[email protected]>",
"license": "MIT",
"ava": {
"files": [
"test/**/*.js",
"**/test.js",
"**/*.test.js",
"!**/utils.js",
"!dist/**/*"
],
"require": [
"@babel/register"
]
},
"babel": {
"env": {
"test": {
"sourceMaps": "inline",
"presets": [
"@babel/preset-flow",
[
"@babel/preset-env",
{
"targets": {
"node": "current"
}
}
]
]
}
}
},
"nyc": {
"exclude": [
"test/**/*.js",
"**/test.js",
"**/*.test.js",
"lib",
"dist"
],
"reporter": [
"text",
"text-summary"
]
},
"prettier": {
"trailingComma": "all"
},
"devDependencies": {
"@babel/core": "^7.9.0",
"@babel/preset-env": "^7.9.0",
"@babel/preset-flow": "^7.9.0",
"@babel/register": "^7.9.0",
"ava": "^3.5.2",
"babel-eslint": "^10.1.0",
"babel-minify": "^0.5.1",
"browser-env": "^3.3.0",
"coveralls": "^3.0.11",
"eslint": "^6.8.0",
"eslint-config-airbnb-base": "^14.1.0",
"eslint-config-prettier": "^6.10.1",
"eslint-plugin-ava": "^10.2.0",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-prettier": "^3.1.2",
"flow-bin": "^0.121.0",
"nyc": "^15.0.0",
"prettier": "2.0.2",
"rollup": "^2.3.2",
"rollup-plugin-babel": "^4.4.0"
},
"dependencies": {}
}