Skip to content

Commit

Permalink
feat: use parcel 2 to build
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Mar 31, 2021
1 parent 3cff757 commit cf60953
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ package-lock.json

# Build directories
dist
.parcel-cache
16 changes: 14 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "babel-preset-atomic",
"main": "index.js",
"main": "dist/index.js",
"version": "4.0.0",
"files": [
"./index.js"
Expand All @@ -18,6 +18,8 @@
"test.format": "prettier . --check",
"lint": "eslint . --fix",
"test.lint": "eslint .",
"dev": "cross-env NODE_ENV=development parcel watch --target main index.js",
"build": "cross-env NODE_ENV=production parcel build --target main index.js",
"bump": "ncu -u"
},
"prettier": "prettier-config-atomic",
Expand Down Expand Up @@ -57,6 +59,16 @@
"@babel/cli": "7.11.6",
"@babel/core": "7.11.6",
"npm-check-updates": "11.3.0",
"prettier-config-atomic": "^1.0.1"
"prettier-config-atomic": "^1.0.1",
"cross-env": "^7.0.3",
"parcel": "^2.0.0-nightly.476"
},
"targets": {
"main": {
"context": "node",
"includeNodeModules": true,
"outputFormat": "commonjs",
"isLibrary": true
}
}
}

0 comments on commit cf60953

Please sign in to comment.