164 строки
4.7 KiB
JSON
164 строки
4.7 KiB
JSON
{
|
|
"name": "@azure/static-web-apps-cli",
|
|
"version": "1.1.7-alpha",
|
|
"description": "Azure Static Web Apps CLI",
|
|
"scripts": {
|
|
"test": "jest --detectOpenHandles --silent --verbose",
|
|
"e2e:start:static": "npm run build && node ./dist/cli/bin.js --config ./cypress/fixtures/static/swa-cli.config.json start static",
|
|
"e2e:start:blazor": "npm run build && node ./dist/cli/bin.js --config ./cypress/fixtures/blazor-starter/swa-cli.config.json start blazor-starter",
|
|
"e2e:static": "start-server-and-test e2e:start:static http://0.0.0.0:1234 cy:run",
|
|
"e2e:blazor": "start-server-and-test e2e:start:blazor http://0.0.0.0:1234 cy:run",
|
|
"e2e:detection:prepare-samples": "rimraf -fr e2e/samples && npx -y degit sinedied/frameworks-playground#samples e2e/samples",
|
|
"e2e:detection:run": "node e2e/detect.js e2e/samples 2",
|
|
"e2e:detection:test": "jest --config e2e/jest.config.js",
|
|
"cy:run": "cypress run",
|
|
"cy:open": "cypress open",
|
|
"build": "tsc",
|
|
"prebuild": "rimraf -fr dist",
|
|
"postbuild": "npm run copy-assets",
|
|
"watch": "tsc --watch",
|
|
"copy-assets": "node ./scripts/copy-assets.js",
|
|
"prepare": "npm run build",
|
|
"format": "prettier --write 'src/**/*.ts' *.md'' 'docs/**/*.md' 'scripts/**/*.js' 'cypress/**/*.js' 'schema/**/*.json'",
|
|
"release:check": "semantic-release --dry-run",
|
|
"release:changelog": "CI=1 semantic-release"
|
|
},
|
|
"bin": {
|
|
"swa": "dist/cli/bin.js"
|
|
},
|
|
"author": "Microsoft Corporation",
|
|
"dependencies": {
|
|
"@azure/arm-appservice": "^12.0.0",
|
|
"@azure/arm-resources": "^5.0.1",
|
|
"@azure/arm-subscriptions": "^5.0.0",
|
|
"@azure/identity": "^3.1.2",
|
|
"@azure/msal-common": "^6.2.0",
|
|
"adm-zip": "^0.5.10",
|
|
"ajv": "^8.11.0",
|
|
"ajv-draft-04": "^1.0.0",
|
|
"chalk": "^4.1.2",
|
|
"cli-progress": "^3.10.0",
|
|
"commander": "^9.2.0",
|
|
"concurrently": "^7.1.0",
|
|
"cookie": "^0.5.0",
|
|
"devcert": "^1.2.0",
|
|
"dotenv": "^16.0.0",
|
|
"finalhandler": "^1.2.0",
|
|
"get-port": "^5.1.1",
|
|
"globrex": "^0.1.2",
|
|
"http-proxy": "^1.18.1",
|
|
"internal-ip": "^6.2.0",
|
|
"json-source-map": "^0.6.1",
|
|
"keytar": "^7.9.0",
|
|
"node-fetch": "^2.6.7",
|
|
"open": "^8.4.0",
|
|
"ora": "^5.4.1",
|
|
"pem": "^1.14.6",
|
|
"prompts": "^2.4.2",
|
|
"rimraf": "^3.0.2",
|
|
"selfsigned": "^2.0.1",
|
|
"serve-static": "^1.15.0",
|
|
"update-notifier": "^5.1.0",
|
|
"wait-on": "^6.0.1",
|
|
"yaml": "^2.0.1"
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/cli": "^16.2.3",
|
|
"@commitlint/config-angular": "^16.2.3",
|
|
"@semantic-release/changelog": "^6.0.1",
|
|
"@semantic-release/commit-analyzer": "^9.0.2",
|
|
"@semantic-release/release-notes-generator": "^10.0.3",
|
|
"@types/adm-zip": "^0.5.0",
|
|
"@types/cli-progress": "^3.9.2",
|
|
"@types/cookie": "^0.5.1",
|
|
"@types/finalhandler": "^1.1.1",
|
|
"@types/globalyzer": "^0.1.1",
|
|
"@types/globrex": "^0.1.2",
|
|
"@types/http-proxy": "^1.17.8",
|
|
"@types/jest": "^27.4.1",
|
|
"@types/mock-fs": "^4.13.1",
|
|
"@types/node": "^14.18.16",
|
|
"@types/node-fetch": "^2.6.1",
|
|
"@types/prompts": "^2.0.14",
|
|
"@types/serve-static": "^1.13.10",
|
|
"@types/shelljs": "^0.8.11",
|
|
"@types/update-notifier": "^5.1.0",
|
|
"@types/wait-on": "^5.3.1",
|
|
"@types/which": "^2.0.1",
|
|
"all-contributors-cli": "^6.20.0",
|
|
"cypress": "^9.6.0",
|
|
"husky": "^4.3.8",
|
|
"jest": "^27.2.5",
|
|
"jest-extended": "^2.0.0",
|
|
"lint-staged": "^12.4.1",
|
|
"mock-fs": "^5.1.2",
|
|
"prettier": "2.6.2",
|
|
"semantic-release": "^19.0.2",
|
|
"start-server-and-test": "^1.14.0",
|
|
"supertest": "^6.2.3",
|
|
"ts-jest": "^27.0.0",
|
|
"typescript": "^4.2.4"
|
|
},
|
|
"homepage": "https://github.com/azure/static-web-apps-cli#readme",
|
|
"private": false,
|
|
"keywords": [
|
|
"azure",
|
|
"cloud",
|
|
"serverless",
|
|
"hosting",
|
|
"static",
|
|
"auth",
|
|
"authentication",
|
|
"staticwebapp",
|
|
"jamstack",
|
|
"webapp",
|
|
"deploy",
|
|
"javascript",
|
|
"nodejs",
|
|
"dotnet",
|
|
"python"
|
|
],
|
|
"bugs": {
|
|
"url": "https://github.com/azure/static-web-apps-cli/issues"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/azure/static-web-apps-cli.git"
|
|
},
|
|
"license": "MIT",
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged",
|
|
"pre-push": "npm test"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.{ts,js,json,md}": [
|
|
"prettier --write",
|
|
"git add"
|
|
]
|
|
},
|
|
"engines": {
|
|
"node": ">=14.0.0",
|
|
"npm": ">=6.0.0"
|
|
},
|
|
"release": {
|
|
"branches": "main",
|
|
"plugins": [
|
|
[
|
|
"@semantic-release/commit-analyzer",
|
|
{
|
|
"releaseRules": [
|
|
{
|
|
"type": "docs",
|
|
"release": "patch"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"@semantic-release/release-notes-generator",
|
|
"@semantic-release/changelog"
|
|
]
|
|
}
|
|
}
|