43 lines
608 B
Markdown
43 lines
608 B
Markdown
# Node Profile
|
|
|
|
Use when the repository has `package.json`.
|
|
|
|
## Detection
|
|
|
|
Common files:
|
|
|
|
```text
|
|
package.json
|
|
package-lock.json
|
|
pnpm-lock.yaml
|
|
yarn.lock
|
|
tsconfig.json
|
|
vite.config.*
|
|
```
|
|
|
|
## Commands
|
|
|
|
Prefer existing scripts. Common defaults:
|
|
|
|
```text
|
|
INSTALL_COMMAND = npm install
|
|
LINT_COMMAND = npm run lint
|
|
TEST_COMMAND = npm test
|
|
BUILD_COMMAND = npm run build
|
|
AUDIT_COMMAND = npm audit --omit=dev --audit-level=high
|
|
README_COMMAND = npm run readme
|
|
```
|
|
|
|
If scripts are missing, document `PENDING` instead of inventing commands.
|
|
|
|
## Ignore Additions
|
|
|
|
```text
|
|
node_modules/
|
|
dist/
|
|
build/
|
|
coverage/
|
|
*.log
|
|
```
|
|
|