forked from Aaronius/penpal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
82 lines (82 loc) · 2.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
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": "penpal",
"version": "4.1.1",
"description": "A promise-based library for communicating with iframes via postMessage.",
"author": "Aaron Hardy <aaron@aaronhardy.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/Aaronius/penpal/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Aaronius/penpal.git"
},
"keywords": [
"iframe",
"postMessage",
"promise"
],
"main": "lib/index.js",
"scripts": {
"clean": "rm -rf dist lib",
"build:lib": "babel ./src --out-dir ./lib",
"build:dist": "rollup --config rollup.config.js && terser dist/penpal.js -o dist/penpal.min.js -m --source-map",
"build": "npm-run-all clean build:lib build:dist && ls -lh dist/penpal.min.js",
"lint": "eslint .",
"format": "prettier --write \"**/*.{json,js,md,html,babelrc,eslintrc}\"",
"test": "npm-run-all clean runTests",
"test:watch": "npm-run-all clean runTests:watch",
"test:sauce": "npm-run-all build 'runTests -- --sauce'",
"runTests": "node ./scripts/test.js",
"runTests:watch": "npm run runTests -- --watch",
"prepublishOnly": "npm-run-all format lint test build"
},
"husky": {
"hooks": {
"pre-commit-disabled": "npm-run-all format lint test && git add ."
}
},
"browserslist": [
"Chrome >= 49",
"ChromeAndroid >= 28",
"Firefox >= 52",
"last 1 FirefoxAndroid version",
"Explorer >= 11",
"Edge >= 16",
"Safari >= 11",
"Opera >= 57",
"iOS >= 9",
"Android >= 4"
],
"files": [
"dist",
"lib"
],
"dependencies": {},
"devDependencies": {
"@babel/cli": "^7.2.3",
"@babel/core": "^7.3.4",
"@babel/preset-env": "^7.3.4",
"@metahub/karma-rollup-preprocessor": "^4.1.0",
"babel-plugin-add-module-exports": "^1.0.0",
"connect": "^3.6.6",
"eslint": "^5.10.0",
"eslint-config-prettier": "^4.1.0",
"eslint-plugin-import": "^2.14.0",
"husky": "^1.3.1",
"jasmine-core": "^3.3.0",
"karma": "^3.1.4",
"karma-babel-preprocessor": "^8.0.0-beta.0",
"karma-chrome-launcher": "^2.2.0",
"karma-firefox-launcher": "^1.1.0",
"karma-jasmine": "^2.0.1",
"karma-sauce-launcher": "^2.0.2",
"npm-run-all": "^4.1.5",
"prettier": "1.15.3",
"rollup": "^1.7.0",
"rollup-plugin-babel": "^4.3.2",
"serve-static": "^1.13.2",
"terser": "^3.13.1",
"yargs": "^12.0.5"
}
}