Lines 7-47json
10 "author": "Kai Haase",
11 "homepage": "https://lenne.tech",
13 "repository": "https://github.com/lenneTech/cli.git",
15 "url": "https://github.com/lenneTech/cli/issues"
22 "cf": "npm run check:fix",
23 "check": "bash scripts/check.sh",
24 "check:audit": "bash scripts/check.sh --audit-only",
25 "check:fix": "npm install && npm audit fix && npm run format && npm run lint:fix && npm run build && npm run check:start",
26 "check:start": "bash scripts/check-cli-start.sh",
27 "postinstall": "node bin/postinstall.js 2>/dev/null || true",
HighInstall Time Lifecycle Scripts
Package defines install-time lifecycle scripts.
package.jsonView on unpkg · L27 MediumAmbiguous Install Lifecycle Script
Install-time lifecycle script is not statically allowlisted and needs review.
package.jsonView on unpkg · L27 28 "build": "npm run lint && npm run test && npm run clean-build && npm run compile && npm run copy-templates",
29 "clean-build": "npx rimraf ./build",
30 "compile": "tsc -p .",
31 "copy-templates": "npx shx cp -R ./src/templates ./build/templates && npx shx cp -R ./src/config ./build/config",
32 "coverage": "jest --coverage",
33 "test:vendor-init": "bash scripts/test-vendor-init.sh",
34 "test:frontend-vendor-init": "bash scripts/test-frontend-vendor-init.sh",
35 "test:incremental-fullstack": "bash scripts/test-incremental-fullstack.sh",
36 "test:manual": "jest --testMatch '<rootDir>/*.manual.ts' --testTimeout=60000",
37 "test:e2e:service": "jest --testMatch '<rootDir>/dev-service-e2e.manual.ts' --testTimeout=60000",
38 "format": "prettier --write 'src/**/*.{js,ts,tsx,json}' '!src/templates/**/*'",
39 "lint": "eslint './src/**/*.{ts,js,vue}'",
40 "lint:fix": "eslint './src/**/*.{ts,js,vue}' --fix",
41 "prepublishOnly": "npm run build",
42 "preversion": "npm run lint",
43 "reinit": "npx rimraf package-lock.json && npx rimraf node_modules && npm cache clean --force && npm i && npm run build",
44 "snapupdate": "jest --updateSnapshot",
45 "start": "node bin/lt",
46 "start:build": "npm run build && node bin/lt --compiled-build",
47 "start:compiled": "node bin/lt --compiled-build",