-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
51 lines (51 loc) · 1.57 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
{
"name": "@cucumber/microdata",
"version": "2.1.0",
"description": "Extract WHATWG microdata from a DOM",
"type": "module",
"main": "dist/cjs/src/index.js",
"types": "dist/cjs/src/index.d.ts",
"files": [
"dist/cjs",
"dist/esm"
],
"module": "dist/esm/src/index.js",
"jsnext:main": "dist/esm/src/index.js",
"exports": {
".": {
"import": "./dist/esm/src/index.js",
"require": "./dist/cjs/src/index.js"
}
},
"repository": "git+https://github.com/cucumber/microdata.git",
"author": "Aslak Hellesøy",
"license": "MIT",
"scripts": {
"build:cjs": "tsc --build tsconfig.build-cjs.json && shx cp package.cjs.json dist/cjs/package.json",
"build:esm": "tsc --build tsconfig.build-esm.json",
"build": "npm run build:cjs && npm run build:esm",
"test": "mocha && npm run test:cjs",
"test:cjs": "npm run build:cjs && mocha --no-config dist/cjs/test",
"prepublishOnly": "npm run build",
"eslint-fix": "eslint --ext ts --max-warnings 0 --fix src test",
"eslint": "eslint --ext ts --max-warnings 0 src test"
},
"devDependencies": {
"@types/jsdom": "21.1.7",
"@types/mocha": "10.0.10",
"@types/node": "22.10.2",
"@typescript-eslint/eslint-plugin": "8.4.0",
"@typescript-eslint/parser": "8.4.0",
"eslint": "8.57.1",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-prettier": "5.2.1",
"jsdom": "25.0.1",
"mocha": "11.0.1",
"prettier": "3.4.2",
"schema-dts": "1.1.2",
"shx": "0.3.4",
"ts-node": "10.9.2",
"typescript": "5.7.2"
}
}