This repository has been archived by the owner on Oct 21, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 19
/
package.json
69 lines (69 loc) · 1.9 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
{
"name": "@github/query-selector",
"version": "1.0.4",
"description": "Query the document tree by selector, filtering by element type.",
"repository": "github/query-selector",
"main": "dist/index.umd.js",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
"scripts": {
"clean": "rm -rf dist",
"lint": "github-lint",
"prebuild": "npm run clean && npm run lint && mkdir dist",
"build-umd": "BABEL_ENV=umd babel index.js -o dist/index.umd.js && cp index.js.flow dist/index.umd.js.flow",
"build-esm": "BABEL_ENV=esm babel index.js -o dist/index.esm.js && cp index.js.flow dist/index.esm.js.flow",
"build": "npm run build-umd && npm run build-esm && cp index.d.ts dist/index.d.ts",
"test": "BABEL_ENV=umd mocha --require @babel/register && tsc --noEmit --strict test/test.ts",
"prepublishOnly": "npm run build",
"postpublish": "npm publish --ignore-scripts --@github:registry='https://npm.pkg.github.com'"
},
"keywords": [
"flow",
"query"
],
"license": "MIT",
"files": [
"dist"
],
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.9.0",
"@babel/preset-env": "^7.9.0",
"@babel/preset-flow": "^7.9.0",
"@babel/register": "^7.9.0",
"babel-eslint": "^10.1.0",
"eslint": "^6.8.0",
"eslint-plugin-github": "^3.4.1",
"flow-bin": "^0.121.0",
"jsdom": "^16.2.1",
"jsdom-global": "^3.0.2",
"mocha": "^7.1.1",
"typescript": "^3.8.3"
},
"babel": {
"env": {
"esm": {
"presets": [
"@babel/flow"
]
},
"umd": {
"plugins": [
"@babel/plugin-transform-modules-umd"
],
"presets": [
"@babel/env",
"@babel/flow"
]
}
}
},
"eslintConfig": {
"extends": [
"plugin:flowtype/recommended",
"plugin:github/es6",
"plugin:github/browser"
],
"parser": "babel-eslint"
}
}