UNPKG

@netlify/framework-info

Version:
133 lines (132 loc) 4.14 kB
{ "name": "@netlify/framework-info", "version": "3.2.0", "description": "Framework detection utility", "main": "./src/main.js", "browser": "./dist/index.js", "bin": { "framework-info": "./src/bin.js" }, "files": [ "dist/index.js", "src/**/*.js", "src/**/*.json" ], "scripts": { "prepublishOnly": "npm ci && run-s test build:core", "build": "run-s build:*", "build:core": "webpack --config scripts/webpack.config.core.js", "build:site-react": "webpack --config scripts/webpack.config.site.js", "build:site-vanilla": "cpy site/vanilla/index.html dist/vanilla", "build:site-root": "cpy site/index.html dist", "develop:site-react": "webpack serve --config scripts/webpack.config.site.js", "test": "npm run format && npm run test:dev", "format": "run-s format:check-fix:*", "format:ci": "run-s format:check:*", "format:check-fix:lint": "run-e format:check:lint format:fix:lint", "format:check:lint": "cross-env-shell eslint $npm_package_config_eslint", "format:fix:lint": "cross-env-shell eslint --fix $npm_package_config_eslint", "format:check-fix:prettier": "run-e format:check:prettier format:fix:prettier", "format:check:prettier": "cross-env-shell prettier --check $npm_package_config_prettier", "format:fix:prettier": "cross-env-shell prettier --write $npm_package_config_prettier", "test:dev": "run-s test:dev:*", "test:dev:ava": "ava", "test:dev:cypress": "node cypress/run.js", "test:ci": "run-s test:ci:*", "test:ci:ava": "nyc -r lcovonly -r text -r json ava", "test:ci:cypress": "node cypress/run.js" }, "husky": { "hooks": { "commit-msg": "commitlint -E HUSKY_GIT_PARAMS", "pre-push": "npm run format" } }, "keywords": [ "dependency-management", "continuous-integration", "deployment", "es6", "framework", "gulp", "javascript", "html", "library", "markdown", "nodejs", "npmjs", "package-manager", "webapp", "jamstack", "static-site-generator", "static-site", "gatsby", "hugo", "netlify" ], "author": "Netlify, Inc", "license": "MIT", "repository": "netlify/framework-info", "homepage": "https://github.com/netlify/framework-info", "bugs": { "url": "https://github.com/netlify/framework-info/issues" }, "config": { "eslint": "--ignore-path .gitignore --cache --format=codeframe --max-warnings=0 \"{src,site,scripts,test,cypress}/**/*.{js,jsx,html}\" --ignore-pattern \"test/fixtures/**/*\"", "prettier": "--ignore-path .gitignore --loglevel warn \"{src,site,scripts,test,cypress}/**/*.js\" \"*.{js,md,yml,json}\" \"!package-lock.json\" \"!CHANGELOG.md\"" }, "dependencies": { "ajv": "^7.0.0", "filter-obj": "^2.0.1", "is-plain-obj": "^2.1.0", "locate-path": "^5.0.0", "p-filter": "^2.1.0", "p-locate": "^4.1.0", "read-pkg-up": "^7.0.1", "semver": "^7.3.4", "yargs": "^15.4.1" }, "devDependencies": { "@babel/core": "^7.12.10", "@babel/preset-env": "^7.12.10", "@babel/preset-react": "^7.12.10", "@netlify/eslint-config-node": "^2.5.2", "ava": "^2.4.0", "babel-loader": "^8.2.2", "cpy": "^8.1.0", "cpy-cli": "^3.1.1", "cypress": "^6.5.0", "del": "^5.1.0", "eslint-plugin-cypress": "^2.11.2", "eslint-plugin-react": "^7.21.5", "execa": "^3.4.0", "get-bin-path": "^4.0.1", "html-webpack-plugin": "^5.0.0", "husky": "^3.1.0", "is-ci": "^3.0.0", "node-static": "^0.7.11", "npm-run-all": "^4.1.5", "nyc": "^15.0.0", "path-browserify": "^1.0.1", "puppeteer": "^8.0.0", "react": "^17.0.1", "react-dom": "^17.0.1", "test-each": "^1.8.0", "tmp-promise": "^3.0.2", "webpack": "^5.10.1", "webpack-cli": "^4.2.0", "webpack-dev-server": "^3.11.0" }, "browserslist": [ "last 2 Chrome versions", "last 2 Opera versions", "last 2 Firefox versions", "last 2 Edge versions", "last 2 Safari versions", "last 2 iOS versions", "last 2 ChromeAndroid versions" ], "engines": { "node": ">=8.3.0" } }