What do you want to save?
Add Code snippet
New code examples
-
TypeScript 2021-11-15 01:54:14
typescript config
//type config configuration { "compilerOptions": { "outDir": "dist", "target": "ESNext", "module": "CommonJS", "moduleResolution": "node", "esModuleI... Add solution -
TypeScript 2021-11-12 22:08:17
Parsing error: "parserOptions.project" has been set for @typescript-eslint/parser.
// DO NOT SET createDefaultProgram to true to prevent future breakage. Create a new tsconfig.eslint.json Add .eslintrc in .eslintignore Ensure that ONLY the files you want to be linted are the ones only included. 4Make sure that in the package.json you o... Add solution -
Javascript 2021-11-08 14:11:12
create new angular project specific version
//You cannot using CLI //Better install a specific version of Angular in a folder: $ npm install @angular/[email protected] //for anngular 5 for example //And then $ ng new angular_5_app //or change angular/cli and angular versions in the package.json Add solution -
Javascript 2021-11-07 14:54:17
how to setup tailwind for reactjs
1. npx create-react-app . 2. npm i -D tailwindcss postcss-cli autoprefixer or npm install tailwindcss@latest postcss@latest autoprefixer@latest //postcss - transform our compile css // autoprefixer - set vendor prefixes within our css automatically whe... Add solution -
Javascript 2021-11-04 13:12:09
How to uninstall npm modules in node js?
The command is simply npm uninstall <name> // Here are different options: // - removes the module from node_modules but // does NOT update package.json npm uninstall <name> // - removes it from dependencies in package.json aswell npm unins... Add solution -
Javascript 2021-11-03 10:47:20
what is package.json in node
npm init //To install package.json Add solution -
Other 2021-11-01 19:41:15
npm WARN package.json: No repository field
It's just a check as of NPM v1.2.20, they report this as a warning. However, don't worry, there are sooooooo many packages which still don't have the repository field in their package.json. The field is used for informational purposes. In the case you'r... Add solution