跳到文章內容
← 返回宇宙
中EN
RSS

Frontend

NPM|module mode

2024.02.13·約 1 分鐘

  • NPM

package.json

package.json

{
"name": "@test/utils",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
// es module mode
"type": "module",
// ...
"dependencies": {
"@test/utils": "workspace:^1.0.0",
"axios": "^0.25.0
// ...
}0
}
← 較舊一篇SOLID五大原則|開閉原則 OCP (The Open/Closed Principle)較新一篇 →OAuth 2.0|Bearer Authentication
James Universe — 在宇宙裡探索所有文章 ·瀏覽標籤