CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-cra-template-typescript

The official TypeScript template for Create React App providing preconfigured TypeScript support and development environment setup.

Overall
score

98%

Overview
Eval results
Files

rubric.jsonevals/scenario-8/

{
  "context": "Evaluates whether the solution correctly orchestrates the Create React App script suite documented in the template README. Looks for accurate npm command/argument/environment combinations for start, test, build, and eject modes. Ignores general code quality and focuses only on CRA script usage.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Start script",
      "description": "Returns a start invocation that runs the CRA dev server via command \"npm\" with args [\"start\"], wiring provided host/port into HOST and PORT env vars without altering other scripts.",
      "max_score": 25
    },
    {
      "name": "CI test run",
      "description": "For ci-enabled runs, produces `npm test -- --watch=false` and sets CI=true to disable watch mode; defaults to the interactive `npm test` invocation when ci is absent.",
      "max_score": 25
    },
    {
      "name": "Build command",
      "description": "Provides a production build invocation using command \"npm\" with args [\"run\", \"build\"], sets NODE_ENV=production, and reports the expected output directory as build.",
      "max_score": 25
    },
    {
      "name": "Eject gating",
      "description": "Only exposes the `npm run eject` invocation when an allow flag is true and otherwise throws a clear error, preventing accidental CRA ejection.",
      "max_score": 25
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/npm-cra-template-typescript

tile.json