mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-31 21:11:30 +08:00 
			
		
		
		
	Merge pull request #902 from pano9000/deps_prettier
chore(prettier): add prettier as devDep and scripts
This commit is contained in:
		
						commit
						cefc6685e1
					
				
							
								
								
									
										5
									
								
								.prettierignore
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								.prettierignore
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,5 @@ | ||||
| *.html | ||||
| *.md | ||||
| *.yml | ||||
| libraries/* | ||||
| docs/* | ||||
							
								
								
									
										17
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										17
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							| @ -156,6 +156,7 @@ | ||||
|         "jsdoc": "4.0.4", | ||||
|         "lorem-ipsum": "2.0.8", | ||||
|         "nodemon": "3.1.9", | ||||
|         "prettier": "3.4.2", | ||||
|         "rcedit": "4.0.1", | ||||
|         "rimraf": "6.0.1", | ||||
|         "ts-node": "10.9.2", | ||||
| @ -14696,6 +14697,22 @@ | ||||
|         "node": ">= 0.8.0" | ||||
|       } | ||||
|     }, | ||||
|     "node_modules/prettier": { | ||||
|       "version": "3.4.2", | ||||
|       "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.4.2.tgz", | ||||
|       "integrity": "sha512-e9MewbtFo+Fevyuxn/4rrcDAaq0IYxPGLvObpQjiZBMAzB9IGmzlnG9RZy3FFas+eBMu2vA0CszMeduow5dIuQ==", | ||||
|       "dev": true, | ||||
|       "license": "MIT", | ||||
|       "bin": { | ||||
|         "prettier": "bin/prettier.cjs" | ||||
|       }, | ||||
|       "engines": { | ||||
|         "node": ">=14" | ||||
|       }, | ||||
|       "funding": { | ||||
|         "url": "https://github.com/prettier/prettier?sponsor=1" | ||||
|       } | ||||
|     }, | ||||
|     "node_modules/print-this": { | ||||
|       "version": "2.0.0", | ||||
|       "resolved": "https://registry.npmjs.org/print-this/-/print-this-2.0.0.tgz", | ||||
|  | ||||
| @ -49,7 +49,9 @@ | ||||
|     "integration-mem-db": "cross-env TRILIUM_INTEGRATION_TEST=memory TRILIUM_PORT=8082 TRILIUM_DATA_DIR=./integration-tests/db nodemon src/main.ts", | ||||
|     "integration-mem-db-dev": "cross-env TRILIUM_INTEGRATION_TEST=memory TRILIUM_PORT=8082 TRILIUM_ENV=dev TRILIUM_DATA_DIR=./integration-tests/db nodemon src/main.ts", | ||||
|     "generate-document": "cross-env nodemon src/tools/generate_document.ts 1000", | ||||
|     "ci-update-nightly-version": "tsx ./bin/update-nightly-version.ts" | ||||
|     "ci-update-nightly-version": "tsx ./bin/update-nightly-version.ts", | ||||
|     "prettier-check": "prettier . --check", | ||||
|     "prettier-fix": "prettier . --write" | ||||
|   }, | ||||
|   "dependencies": { | ||||
|     "@braintree/sanitize-url": "7.1.1", | ||||
| @ -196,6 +198,7 @@ | ||||
|     "jsdoc": "4.0.4", | ||||
|     "lorem-ipsum": "2.0.8", | ||||
|     "nodemon": "3.1.9", | ||||
|     "prettier": "3.4.2", | ||||
|     "rcedit": "4.0.1", | ||||
|     "rimraf": "6.0.1", | ||||
|     "ts-node": "10.9.2", | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Elian Doran
						Elian Doran