onixjs / starter Goto Github PK
View Code? Open in Web Editor NEWOnixJS Server Project Starter
License: Other
OnixJS Server Project Starter
License: Other
"scripts": {
"build": "npm run clean && npm run lint:fix",
"start": "npm run build && node dist/index.js",
"clean": "del dist dist6",
"lint": "npm run prettier:check",
"lint:fix": "npm run prettier:fix",
"prettier:cli": "prettier "/*.ts" "/*.js"",
"prettier:check": "npm run prettier:cli -- -l",
"prettier:fix": "npm run prettier:cli -- --write"
},
With the above script in windows, npm run build is not creating dist folder.
Iam using windows 7
My node version is 12.16.3
I have installed copyfiles using command :
npm -g install [email protected]
and written a script in package.json:
"copyfonts":"copyfiles -f node-modules/font-awesome/fonts/ dist/fonts"*
After this when I have run the command npm run copyfonts
It must create a dist folder and insert a subfolder fonts. But dist folder is not created .
Can anyone tell me the mistake I committed ?
In windows 7
My node version is 12.16.3
The version of imagemin-cli is 3.0.0
while I tried downloading the imagemin-cli using the command
npm -g install [email protected] --unsafe-perm=true --allow-root
I got a warning after runnning this command i.e.,
npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":">=0.10.0 <7"}
(current: {"node":"12.16.3","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: [email protected]+ [email protected]
Is it ok or may I uninstall and start again?
When i use this module in windows, npm is throwing error like 'rm' is not recognized as an internal or external command, After changeing rm to 'del', another error " '.' is not recognized as an internal or external command, "
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.