Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parcel 2 #9

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,9 @@ jobs:
- uses: UziTech/action-setup-atom@v1
with:
channel: ${{ matrix.atom_channel }}
- name: Versions
run: apm -v
- name: Install APM dependencies
run: |
apm install

- name: Install dependencies
run: npm install

# Lint:
# if: "!contains(github.event.head_commit.message, '[skip ci]')"
Expand Down
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
18 changes: 16 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,9 @@
"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",
"prepare": "npm run build",
"bump": "ncu -u"
},
"prettier": "prettier-config-atomic",
Expand Down Expand Up @@ -57,6 +60,17 @@
"@babel/cli": "^7.13.14",
"@babel/core": "^7.13.14",
"npm-check-updates": "11.3.0",
"prettier-config-atomic": "^1.0.1"
"prettier-config-atomic": "^1.0.1",
"cross-env": "^7.0.3",
"npm-check-updates": "11.3.0",
"parcel": "^2.0.0-nightly.632"
},
"targets": {
"main": {
"context": "node",
"includeNodeModules": true,
"outputFormat": "commonjs",
"isLibrary": true
}
}
}
Loading