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

Install via npm? #2295

Closed
tmcw opened this issue Jan 3, 2015 · 12 comments
Closed

Install via npm? #2295

tmcw opened this issue Jan 3, 2015 · 12 comments

Comments

@tmcw
Copy link

tmcw commented Jan 3, 2015

Right now it looks like ace has a package.json with the name 'ace' but ace on npm is a different project. Is ace published under a different name?

@nightwing
Copy link
Member

Ace is not published on npm yet. You can install it with npm i git+https://github.com/ajaxorg/ace#master or npm i git+https://github.com/ajaxorg/ace-builds#master for built version

@thealjey
Copy link

but will it ever be published on npm, do you have any plans for that?
would be awesome 😄

@therustmonk
Copy link

Builds already exists: https://www.npmjs.com/package/ace-builds
If you want sources I don't think it's a good idea to get them as npm dependency.

@tmcw
Copy link
Author

tmcw commented Jan 28, 2016

Okay, we can use builds - thanks!

@tmcw tmcw closed this as completed Jan 28, 2016
@adius
Copy link

adius commented Mar 26, 2016

It should definitely be possible to just npm install ace

@adius
Copy link

adius commented Mar 26, 2016

Btw: I have the package name ace-code-editor. I'd be happy to give it to you should you decide to publish ace on npm.

@adrian-moisa
Copy link

adrian-moisa commented Sep 30, 2017

I have installed ace-code-editor. How do I use it together with typescript @types/ace ? I'm stuck at the importing inside the es6 class step.

Edit: Found brace meanwhile. Saved my life.

@vedmant
Copy link

vedmant commented Apr 20, 2018

Any updates on this? Can't believe there is no official ace npm package...

@trevorhreed
Copy link

This would be particularly useful in combination with webpack's tree-shaking.

@nightwing
Copy link
Member

@trevorhreed this is already possible using the ace-builds npm package https://github.com/ajaxorg/ace/tree/master/demo/webpack https://github.com/nightwing/ace-webpack-demo

@kuchaguangjie
Copy link

It's here: https://www.npmjs.com/package/ace-builds

Could install via:

yarn add ace-builds

or

npm install ace-builds

Then import via:

import ace from 'ace-builds'

@kungfooman
Copy link

Another way to import:

<script src="./node_modules/ace-builds/src/ace.js"></script>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants