|
15 | 15 | "repository": "fregante/select-dom",
|
16 | 16 | "license": "MIT",
|
17 | 17 | "author": "Federico Brigante <[email protected]> (bfred.it)",
|
| 18 | + "type": "module", |
| 19 | + "main": "index.js", |
| 20 | + "module": "index.js", |
18 | 21 | "files": [
|
19 | 22 | "index.js",
|
20 | 23 | "index.d.ts"
|
21 | 24 | ],
|
22 |
| - "module": "index.js", |
23 | 25 | "scripts": {
|
24 |
| - "build": "tsc", |
25 |
| - "prepublish-only": "tsc", |
| 26 | + "build": "tsc --sourceMap false", |
| 27 | + "prepublishOnly": "tsc", |
26 | 28 | "test": "tsc && tsd && xo && browserify -p esmify test.js | tape-run",
|
27 | 29 | "watch": "tsc --watch"
|
28 | 30 | },
|
29 | 31 | "xo": {
|
30 | 32 | "envs": [
|
31 | 33 | "browser"
|
32 | 34 | ],
|
33 |
| - "extensions": [ |
34 |
| - "ts" |
35 |
| - ], |
36 |
| - "overrides": [ |
37 |
| - { |
38 |
| - "files": "**/*.ts", |
39 |
| - "extends": "xo-typescript", |
40 |
| - "parserOptions": { |
41 |
| - "project": "./tsconfig.xo.json" |
42 |
| - }, |
43 |
| - "rules": { |
44 |
| - "@typescript-eslint/prefer-for-of": "off" |
45 |
| - } |
46 |
| - } |
47 |
| - ], |
48 | 35 | "rules": {
|
| 36 | + "@typescript-eslint/prefer-for-of": "off", |
49 | 37 | "valid-jsdoc": "off",
|
50 | 38 | "prefer-spread": "off",
|
51 | 39 | "prefer-arrow-callback": "off",
|
52 | 40 | "unicorn/no-for-loop": "off"
|
53 | 41 | }
|
54 | 42 | },
|
55 | 43 | "devDependencies": {
|
56 |
| - "@sindresorhus/tsconfig": "^0.6.0", |
57 |
| - "@typescript-eslint/eslint-plugin": "^2.11.0", |
58 |
| - "@typescript-eslint/parser": "^2.11.0", |
59 |
| - "browserify": "^16.5.0", |
60 |
| - "eslint-config-xo-typescript": "^0.23.0", |
| 44 | + "@sindresorhus/tsconfig": "^0.7.0", |
| 45 | + "browserify": "^16.5.1", |
61 | 46 | "esmify": "^2.1.1",
|
62 |
| - "tape": "^4.11.0", |
63 |
| - "tape-run": "^6.0.1", |
| 47 | + "tape": "^4.13.2", |
| 48 | + "tape-run": "^7.0.0", |
64 | 49 | "tsd": "^0.11.0",
|
65 |
| - "typescript": "^3.7.3", |
66 |
| - "xo": "^0.25.3" |
67 |
| - }, |
68 |
| - "type": "module" |
| 50 | + "typescript": "^3.8.3", |
| 51 | + "xo": "^0.28.3" |
| 52 | + } |
69 | 53 | }
|
0 commit comments