-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
82 lines (82 loc) · 2.81 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
{
"name": "formspine",
"version": "0.9.901",
"description": "A lightweight form class with error handling, validation, and ajax requests (using fetch)",
"main": "dist/formspine.js",
"module": "dist/formspine.es.js",
"jsnext:main": "dist/formspine.es.js",
"umd:main": "dist/formspine.umd.js",
"repository": {
"type": "git",
"url": "git+https://github.com/LasseRafn/FormSpine.git"
},
"keywords": [
"form",
"validation",
"error handling",
"ajax",
"fetch"
],
"author": "Lasse Rafn <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/LasseRafn/FormSpine/issues"
},
"homepage": "https://github.com/LasseRafn/FormSpine#readme",
"dependencies": {
"codecov": "^2.0.2",
"unfetch": "^2.1.2"
},
"files": [
"dist",
"src/index.js"
],
"scripts": {
"lint": "eslint index.js",
"build": "node index-builder.js && npm-run-all --silent clean -p rollup:* -p minify:* -s size",
"size": "echo \"Gzipped Size: $(strip-json-comments --no-whitespace $npm_package_main | gzip-size) bytes \"",
"prepublish": "npm run build -s && npm run test && npm run lint",
"test": "nyc --check-coverage --lines 95 ava test/test.js",
"coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
"clean": "rimraf dist && mkdirp dist",
"release": "npm run -s build && git commit -am $npm_package_version && git tag $npm_package_version && git push origin master && git push --tags && npm publish",
"minify:cjs": "uglifyjs $npm_package_main -cm toplevel -o $npm_package_main -p relative --in-source-map ${npm_package_main}.map --source-map ${npm_package_main}.map",
"minify:umd": "uglifyjs $npm_package_umd_main -cm -o $npm_package_umd_main -p relative --in-source-map ${npm_package_umd_main}.map --source-map ${npm_package_umd_main}.map",
"rollup:cjs": "cross-env FORMAT=cjs rollup -c rollup.config.js -f cjs -n $npm_package_name -o $npm_package_main",
"rollup:umd": "cross-env FORMAT=umd rollup -c rollup.config.js -f umd -n $npm_package_name -o $npm_package_umd_main",
"rollup:esm": "rollup -c rollup.config.js -f es -n $npm_package_name -o $npm_package_module"
},
"eslintConfig": {
"parser": "babel-eslint",
"extends": "eslint:recommended",
"env": {
"browser": true,
"node": true,
"es6": true
},
"globals": {
"expect": true
}
},
"devDependencies": {
"ava": "^0.18.2",
"babel-core": "^6.9.1",
"babel-eslint": "^7.1.1",
"babel-preset-es2015": "^6.9.0",
"babel-preset-stage-0": "^6.5.0",
"babel-register": "^6.24.0",
"cross-env": "^3.1.4",
"eslint": "^3.13.1",
"gzip-size-cli": "^1.0.0",
"mkdirp": "^0.5.1",
"npm-run-all": "^2.1.1",
"nyc": "^10.1.2",
"rimraf": "^2.6.1",
"rollup": "^0.41.4",
"rollup-plugin-buble": "^0.15.0",
"rollup-plugin-post-replace": "^1.0.0",
"sinon": "^2.0.0",
"strip-json-comments-cli": "^1.0.1",
"uglify-js": "^2.6.2"
}
}