|
19 | 19 | "outputFile": "bluebase/storybook-native/storybook/storyLoader.js"
|
20 | 20 | }
|
21 | 21 | },
|
| 22 | + "remarkConfig": { |
| 23 | + "plugins": [ |
| 24 | + "remark-preset-lint-recommended" |
| 25 | + ] |
| 26 | + }, |
22 | 27 | "scripts": {
|
23 | 28 | "storybook-native:start": "bluebase storybook-native:start",
|
24 | 29 | "start": "yarn run storybook",
|
|
29 | 34 | "build:main": "tsc -p tsconfig.json && babel ./src --out-dir dist --ignore \"**/__tests__\",\"**/__stories__\" --extensions \".ts,.tsx,.js,.jsx\"",
|
30 | 35 | "fix": "run-s fix:*",
|
31 | 36 | "fix:prettier": "prettier \"src/**/*.ts\" --write",
|
| 37 | + "fix:md": "remark . -o", |
32 | 38 | "fix:lint": "eslint src bluebase --ext=ts,tsx --fix .",
|
33 | 39 | "test:lint": "eslint src bluebase --ext=ts,tsx",
|
34 | 40 | "test": "run-s build test:*",
|
35 | 41 | "test:only": "jest --coverage",
|
36 | 42 | "test:prettier": "prettier \"src/**/*.ts\" --list-different",
|
| 43 | + "test:md": "remark . -f", |
37 | 44 | "report-coverage": "codecov && cat ./coverage/lcov.info | codacy-coverage",
|
38 | 45 | "doc": "run-s doc:html && run-s doc:build-storybook",
|
39 | 46 | "doc:html": "typedoc src/ --target ES6 --mode file --out docs && cp -r assets docs",
|
|
50 | 57 | "web:start": "bluebase web:start",
|
51 | 58 | "expo:start": "bluebase expo:start"
|
52 | 59 | },
|
53 |
| - "scripts-info": { |
54 |
| - "info": "Display information about the package scripts", |
55 |
| - "build": "Clean and rebuild the project", |
56 |
| - "fix": "Try to automatically fix any linting problems", |
57 |
| - "test": "Lint and unit test the project", |
58 |
| - "watch": "Watch and rebuild the project on save", |
59 |
| - "cov": "Rebuild, run tests, then create and open the coverage report", |
60 |
| - "doc": "Generate HTML API documentation and open it in a browser", |
61 |
| - "doc:json": "Generate API documentation in typedoc JSON format", |
62 |
| - "version": "Bump package.json version, update CHANGELOG.md, tag release", |
63 |
| - "reset": "Delete all untracked files and reset the repo to the last commit" |
64 |
| - }, |
65 | 60 | "engines": {
|
66 | 61 | "node": ">=8.9"
|
67 | 62 | },
|
|
126 | 121 | "react-native-storybook-loader": "^1.8.0",
|
127 | 122 | "react-native-typescript-transformer": "1.2.13",
|
128 | 123 | "react-test-renderer": "16.13.1",
|
| 124 | + "remark-cli": "^6.0.1", |
| 125 | + "remark-preset-lint-recommended": "^3.0.2", |
129 | 126 | "schedule": "0.5.0",
|
130 | 127 | "ts-jest": "^26.1.4",
|
131 | 128 | "typedoc": "0.17.8",
|
|
0 commit comments