Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
jakub-g committed May 3, 2019
1 parent 073a12c commit a1f8d18
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@
/acorn-loose/dist
/acorn-walk/dist
/yarn.lock
package-lock.json
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![Build Status](https://travis-ci.org/acornjs/acorn.svg?branch=master)](https://travis-ci.org/acornjs/acorn)
[![NPM version](https://img.shields.io/npm/v/acorn.svg)](https://www.npmjs.com/package/acorn)
[![CDNJS](https://img.shields.io/cdnjs/v/acorn.svg)](https://cdnjs.com/libraries/acorn)
[![CDNJS](https://img.shields.io/cdnjs/v/acorn.svg)](https://cdnjs.com/libraries/acorn)

A tiny, fast JavaScript parser, written completely in JavaScript.

Expand Down Expand Up @@ -36,6 +36,10 @@ cd acorn
npm install
```

Note that `npm install` might take many minutes to finish.
In particular, `test262` git dependency is huge and can take
a long time to fetch.

## Plugin developments

Acorn is designed to support plugins which can, within reasonable
Expand Down
15 changes: 15 additions & 0 deletions acorn-loose/node_modules/.bin/acorn

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions acorn-loose/node_modules/.bin/acorn.cmd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions acorn-loose/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
"main": "dist/acorn-loose.js",
"module": "dist/acorn-loose.mjs",
"version": "6.0.0",
"engines": {"node": ">=0.4.0"},
"engines": {
"node": ">=0.4.0"
},
"dependencies": {
"acorn": "^6.0.0"
},
Expand All @@ -30,7 +32,7 @@
"url": "https://github.com/acornjs/acorn.git"
},
"scripts": {
"prepare": "cd ..; npm run build:loose"
"prepare": "cd .. && npm run build:loose"
},
"license": "MIT"
}
6 changes: 4 additions & 2 deletions acorn-walk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
"main": "dist/walk.js",
"module": "dist/walk.mjs",
"version": "6.1.1",
"engines": {"node": ">=0.4.0"},
"engines": {
"node": ">=0.4.0"
},
"maintainers": [
{
"name": "Marijn Haverbeke",
Expand All @@ -27,7 +29,7 @@
"url": "https://github.com/acornjs/acorn.git"
},
"scripts": {
"prepare": "cd ..; npm run build:walk"
"prepare": "cd .. && npm run build:walk"
},
"license": "MIT"
}

0 comments on commit a1f8d18

Please sign in to comment.