source: frontend/node_modules/baseline-browser-mapping/package.json

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 11 days ago

Fix frontend appearance

  • Property mode set to 100644
File size: 2.8 KB
Line 
1{
2 "name": "baseline-browser-mapping",
3 "main": "./dist/index.cjs",
4 "version": "2.10.31",
5 "description": "A library for obtaining browser versions with their maximum supported Baseline feature set and Widely Available status.",
6 "exports": {
7 ".": {
8 "require": "./dist/index.cjs",
9 "types": "./dist/index.d.ts",
10 "default": "./dist/index.js"
11 },
12 "./legacy": {
13 "require": "./dist/index.cjs",
14 "types": "./dist/index.d.ts"
15 }
16 },
17 "jsdelivr": "./dist/index.js",
18 "files": [
19 "dist/*",
20 "!dist/scripts/*",
21 "LICENSE.txt",
22 "README.md"
23 ],
24 "types": "./dist/index.d.ts",
25 "type": "module",
26 "bin": {
27 "baseline-browser-mapping": "dist/cli.cjs"
28 },
29 "engines": {
30 "node": ">=6.0.0"
31 },
32 "scripts": {
33 "fix-cli-permissions": "output=$(npx baseline-browser-mapping 2>&1); path=$(printf '%s\n' \"$output\" | sed -n 's/^.*: \\(.*\\): Permission denied$/\\1/p; t; s/^\\(.*\\): Permission denied$/\\1/p'); if [ -n \"$path\" ]; then echo \"Permission denied for: $path\"; echo \"Removing $path ...\"; rm -rf \"$path\"; else echo \"$output\"; fi",
34 "test:format": "npx prettier --check .",
35 "test:lint": "npx eslint .",
36 "test:legacy-test": "node spec/legacy-tests/legacy-test.cjs; node dist/cli.cjs",
37 "test:jasmine": "npx jasmine",
38 "test:jasmine-browser": "npx jasmine-browser-runner runSpecs --config ./spec/support/jasmine-browser.js",
39 "test": "npm run build && npm run fix-cli-permissions && npm run test:format && npm run test:lint && npm run test:jasmine && npm run test:jasmine-browser",
40 "build": "rm -rf dist; npx prettier . --write; rollup -c; rm -rf ./dist/scripts/expose-data.d.ts ./dist/cli.d.ts",
41 "refresh-downstream": "npx tsx scripts/refresh-downstream.ts",
42 "refresh-static": "npx tsx scripts/refresh-static.ts",
43 "update-data-file": "npx tsx scripts/update-data-file.ts; npx prettier ./src/data/data.js --write",
44 "update-data-dependencies": "npm i @mdn/browser-compat-data@latest web-features@latest -D",
45 "check-data-changes": "git diff --name-only | grep -q '^src/data/data.js$' && echo 'changes-available=TRUE' || echo 'changes-available=FALSE'"
46 },
47 "license": "Apache-2.0",
48 "devDependencies": {
49 "@mdn/browser-compat-data": "^7.3.16",
50 "@rollup/plugin-terser": "^1.0.0",
51 "@rollup/plugin-typescript": "^12.1.3",
52 "@types/node": "^22.15.17",
53 "eslint-plugin-new-with-error": "^5.0.0",
54 "jasmine": "^5.8.0",
55 "jasmine-browser-runner": "^3.0.0",
56 "jasmine-spec-reporter": "^7.0.0",
57 "prettier": "^3.5.3",
58 "rollup": "^4.44.0",
59 "tslib": "^2.8.1",
60 "typescript": "^5.7.2",
61 "typescript-eslint": "^8.35.0",
62 "web-features": "^3.28.0"
63 },
64 "repository": {
65 "type": "git",
66 "url": "git+https://github.com/web-platform-dx/baseline-browser-mapping.git"
67 }
68}
Note: See TracBrowser for help on using the repository browser.