|
15 | 15 | "main": "dist/create-exposed-app.js", |
16 | 16 | "scripts": { |
17 | 17 | "pre-commit": "lint-staged", |
18 | | - "build": "run-p --print-label build:src build:dts", |
19 | | - "build:dts": "tsc --emitDeclarationOnly", |
20 | | - "build:dts:watch": "npm run build:dts -- --watch --preserveWatchOutput", |
21 | | - "build:src": "babel src --out-dir dist --extensions .js,.jsx,.ts,.tsx --source-maps", |
22 | | - "build:src:watch": "npm run build:src -- --watch 'src/**/*' --verbose", |
23 | | - "build:watch": "onchange 'src/**/*' --initial --kill --delay 1000 -- npm run build", |
24 | | - "dev": "NODE_ENV=development npm run build-serve:watch", |
25 | | - "dev:debug": "DEBUG=* npm run dev", |
26 | | - "dev:debug:app": "DEBUG=create-exposed-app npm run dev", |
| 18 | + "build": "run-p --print-label build-src build-dts", |
| 19 | + "build--watch": "onchange 'src/**/*' --initial --kill --delay 1000 -- npm run build", |
| 20 | + "build-dts": "tsc --emitDeclarationOnly", |
| 21 | + "build-dts--watch": "npm run build-dts -- --watch --preserveWatchOutput", |
| 22 | + "build-src": "babel src --out-dir dist --extensions .js,.jsx,.ts,.tsx --source-maps", |
| 23 | + "build-src--watch": "npm run build-src -- --watch 'src/**/*' --verbose", |
| 24 | + "dev": "NODE_ENV=development npm run start-src--watch", |
| 25 | + "dev--debug": "DEBUG=create-exposed-app npm run dev", |
27 | 26 | "display-browser-support": "browserslist --stats && echo '' && browserslist --coverage && echo '' && echo 'See more at https://browserl.ist/'", |
28 | | - "format": "run-s format:doctoc format:package format:imports format:prettier format:eslint", |
29 | | - "format:doctoc": "doctoc --maxlevel 3 --notitle ./README.md ./DEVELOPING.md", |
30 | | - "format:eslint": "eslint --cache --ext .js,.jsx,.ts,.tsx --fix ./ >/dev/null 2>&1 || true", |
31 | | - "format:imports": "import-sort --write '**/*.{js,jsx,ts,tsx}'", |
32 | | - "format:package": "prettier-package-json --write", |
33 | | - "format:prettier": "prettier --write '**/*.{css,gql,graphql,html,js,jsx,json,less,md,mdx,scss,ts,tsx,vue,yaml,yml}' '.editorconfig' 'LICENSE'", |
34 | | - "lint": "run-p lint:eslint lint:markdown", |
35 | | - "lint:eslint": "eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./", |
36 | | - "lint:markdown": "markdownlint --ignore coverage --ignore dist --ignore node_modules '**/*.md' '.**/**/*.md'", |
37 | | - "lint:watch": "onchange 'src/**/*' --initial --kill --delay 1000 -- npm run lint", |
| 27 | + "format": "run-s format-doctoc format-package-json format-imports format-prettier format-eslint", |
| 28 | + "format-doctoc": "doctoc --maxlevel 3 --notitle ./README.md ./DEVELOPING.md", |
| 29 | + "format-eslint": "eslint --cache --ext .js,.jsx,.ts,.tsx --fix ./ >/dev/null 2>&1 || true", |
| 30 | + "format-imports": "import-sort --write '**/*.{js,jsx,ts,tsx}'", |
| 31 | + "format-package-json": "prettier-package-json --write", |
| 32 | + "format-prettier": "prettier --write '**/*.{css,gql,graphql,html,js,jsx,json,less,md,mdx,scss,ts,tsx,vue,yaml,yml}' '.editorconfig' 'LICENSE'", |
| 33 | + "lint": "run-p lint-eslint lint-markdown", |
| 34 | + "lint--watch": "onchange 'src/**/*' --initial --kill --delay 1000 -- npm run lint", |
| 35 | + "lint-eslint": "eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./", |
| 36 | + "lint-markdown": "markdownlint --ignore coverage --ignore dist --ignore node_modules '**/*.md' '.**/**/*.md'", |
38 | 37 | "prepublish": "rimraf dist && npm run build", |
39 | 38 | "start": "node dist/create-exposed-app.js", |
40 | | - "start:dev": "NODE_ENV=development npm run start", |
41 | | - "start:src": "babel-node --extensions .js,.jsx,.ts,.tsx src/create-exposed-app-cli.ts", |
42 | | - "start:src:watch": "nodemon --ext js,jsx,ts,tsx --delay 1 --exec npm run start:src", |
| 39 | + "start--dev": "NODE_ENV=development npm run start", |
| 40 | + "start-src": "babel-node --extensions .js,.jsx,.ts,.tsx src/create-exposed-app.ts", |
| 41 | + "start-src--watch": "nodemon --ext js,jsx,ts,tsx --delay 1 --exec npm run start-src", |
43 | 42 | "test": "jest --passWithNoTests --coverage", |
44 | | - "test:watch": "jest --watch", |
| 43 | + "test--watch": "jest --watch", |
45 | 44 | "typecheck": "tsc --noEmit", |
46 | | - "typecheck:watch": "npm run typecheck -- --watch", |
| 45 | + "typecheck--watch": "npm run typecheck -- --watch", |
47 | 46 | "validate": "run-p --print-label lint typecheck test build" |
48 | 47 | }, |
49 | 48 | "dependencies": {}, |
|
0 commit comments