|
10 | 10 | "test": "jest", |
11 | 11 | "build": "yarn test && tsc && cp ./src/css/*.css dist/", |
12 | 12 | "build-only": "tsc && cp ./src/css/*.css dist/", |
13 | | - "clean": "rm -rf ./dist/", |
| 13 | + "clean": "rimraf ./dist/", |
14 | 14 | "semantic-release": "semantic-release", |
15 | 15 | "typecheck": "tsc --noEmit", |
16 | 16 | "notion-download": "node dist/index.js", |
17 | | - "cmdhelp": "ts-node --compiler-options \"{\\\"module\\\": \\\"commonjs\\\"}\" src/index.ts", |
| 17 | + "cmdhelp": "ts-node src/index.ts", |
18 | 18 | "// note that we're not using ts-node at the moment because of ": "https://github.com/Codex-/cosmiconfig-typescript-loader/issues/70", |
19 | | - "ts": "yarn tsc && rm -rf ./docs/ && cross-var node dist/index.js", |
| 19 | + "ts": "yarn tsc && rimraf ./docs/ && cross-var node dist/index.js", |
20 | 20 | "// test out with a private sample notion db": "", |
21 | 21 | "pull-test-tagged": "yarn ts -n $DOCU_NOTION_INTEGRATION_TOKEN -r $DOCU_NOTION_TEST_ROOT_PAGE_ID --log-level debug --status-tag test", |
22 | 22 | "pull-sample-site": "yarn ts -n $DOCU_NOTION_INTEGRATION_TOKEN -r $DOCU_NOTION_SAMPLE_ROOT_PAGE --log-level debug", |
|
64 | 64 | "notion-client": "^4", |
65 | 65 | "notion-to-md": "^2.5.5", |
66 | 66 | "path": "^0.12.7", |
67 | | - "sanitize-filename": "^1.6.3", |
68 | | - "ts-node": "^10.2.1" |
| 67 | + "sanitize-filename": "^1.6.3" |
69 | 68 | }, |
70 | 69 | "devDependencies": { |
71 | 70 | "@types/fs-extra": "^9.0.13", |
|
83 | 82 | "jest": "^28.1.3", |
84 | 83 | "lint-staged": "^10.5.4", |
85 | 84 | "prettier": "^2.2.1", |
| 85 | + "rimraf": "^4.1.2", |
86 | 86 | "semantic-release": "^19.0.2", |
87 | 87 | "ts-jest": "^28.0.7", |
| 88 | + "ts-node": "^10.2.1", |
88 | 89 | "typescript": "^4.6.4" |
89 | 90 | }, |
90 | 91 | "release": { |
|
0 commit comments