1 | {
|
2 | "name": "event-target-shim",
|
3 | "version": "6.0.2",
|
4 | "description": "An implementation of WHATWG EventTarget interface.",
|
5 | "main": "index.js",
|
6 | "exports": {
|
7 | ".": {
|
8 | "import": "./index.mjs",
|
9 | "require": "./index.js"
|
10 | },
|
11 | "./es5": {
|
12 | "import": "./es5.mjs",
|
13 | "require": "./es5.js"
|
14 | },
|
15 | "./umd": "./umd.js",
|
16 | "./package.json": "./package.json"
|
17 | },
|
18 | "files": [
|
19 | "index.*",
|
20 | "es5.*",
|
21 | "umd.*"
|
22 | ],
|
23 | "engines": {
|
24 | "node": ">=10.13.0"
|
25 | },
|
26 | "scripts": {
|
27 | "build": "run-s \"build:{clean,rollup,dts,meta}\"",
|
28 | "build:clean": "rimraf \"dist/*\"",
|
29 | "build:rollup": "rollup --config scripts/rollup.config.js",
|
30 | "build:dts": "dts-bundle-generator --project tsconfig/dts.json --out-file dist/index.d.ts src/index.ts && dts-bundle-generator --project tsconfig/dts.json --out-file dist/es5.d.ts src/index.ts",
|
31 | "build:meta": "cpx \"{LICENSE,package.json,README.md}\" dist/",
|
32 | "preversion": "npm test",
|
33 | "version": "npm run build",
|
34 | "postversion": "release",
|
35 | "test": "run-s \"test:{clean,tsc,lint,format,mocha}\"",
|
36 | "test:clean": "rimraf \"coverage/*\"",
|
37 | "test:tsc": "tsc -p tsconfig/build.json --noEmit",
|
38 | "test:lint": "eslint .",
|
39 | "test:format": "prettier --check .",
|
40 | "test:mocha": "ts-node scripts/test",
|
41 | "watch:mocha": "mocha --require ts-node/register/transpile-only --extensions ts --watch-files src,test --watch \"test/*.ts\""
|
42 | },
|
43 | "dependencies": {},
|
44 | "devDependencies": {
|
45 | "@babel/core": "^7.12.10",
|
46 | "@babel/plugin-transform-runtime": "^7.12.10",
|
47 | "@babel/preset-env": "^7.12.11",
|
48 | "@mysticatea/eslint-plugin": "^13.0.0",
|
49 | "@mysticatea/spy": "^0.1.2",
|
50 | "@mysticatea/tools": "^0.1.1",
|
51 | "@rollup/plugin-babel": "^5.2.2",
|
52 | "@rollup/plugin-typescript": "^8.1.0",
|
53 | "@types/istanbul-lib-coverage": "^2.0.3",
|
54 | "@types/istanbul-lib-report": "^3.0.0",
|
55 | "@types/istanbul-lib-source-maps": "^4.0.1",
|
56 | "@types/istanbul-reports": "^3.0.0",
|
57 | "@types/mocha": "^8.2.0",
|
58 | "@types/rimraf": "^3.0.0",
|
59 | "assert": "^2.0.0",
|
60 | "babel-loader": "^8.2.2",
|
61 | "babel-plugin-istanbul": "^6.0.0",
|
62 | "buffer": "^6.0.3",
|
63 | "chalk": "^4.1.0",
|
64 | "codecov": "^3.8.1",
|
65 | "cpx": "^1.5.0",
|
66 | "dts-bundle-generator": "^5.5.0",
|
67 | "eslint": "^7.15.0",
|
68 | "istanbul-lib-coverage": "^3.0.0",
|
69 | "istanbul-lib-report": "^3.0.0",
|
70 | "istanbul-lib-source-maps": "^4.0.0",
|
71 | "istanbul-reports": "^3.0.2",
|
72 | "mocha": "^7.2.0",
|
73 | "npm-run-all": "^4.1.5",
|
74 | "path-browserify": "^1.0.1",
|
75 | "playwright": "^1.7.0",
|
76 | "prettier": "~2.2.1",
|
77 | "process": "^0.11.10",
|
78 | "rimraf": "^3.0.2",
|
79 | "rollup": "^2.35.1",
|
80 | "rollup-plugin-terser": "^7.0.2",
|
81 | "rollup-watch": "^4.3.1",
|
82 | "stream-browserify": "^3.0.0",
|
83 | "ts-loader": "^8.0.12",
|
84 | "ts-node": "^9.1.1",
|
85 | "tslib": "^2.0.3",
|
86 | "typescript": "~4.1.3",
|
87 | "url": "^0.11.0",
|
88 | "util": "^0.12.3",
|
89 | "webpack": "^5.11.0"
|
90 | },
|
91 | "repository": {
|
92 | "type": "git",
|
93 | "url": "https://github.com/mysticatea/event-target-shim.git"
|
94 | },
|
95 | "keywords": [
|
96 | "w3c",
|
97 | "whatwg",
|
98 | "eventtarget",
|
99 | "event",
|
100 | "events",
|
101 | "shim"
|
102 | ],
|
103 | "author": "Toru Nagashima",
|
104 | "license": "MIT",
|
105 | "bugs": {
|
106 | "url": "https://github.com/mysticatea/event-target-shim/issues"
|
107 | },
|
108 | "homepage": "https://github.com/mysticatea/event-target-shim",
|
109 | "funding": "https://github.com/sponsors/mysticatea",
|
110 | "sideEffects": false,
|
111 | "unpkg": "umd.js"
|
112 | }
|