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?
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
but will it ever be published on npm, do you have any plans for that?
would be awesome :smile:
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.
Okay, we can use builds - thanks!
It should definitely be possible to just npm install ace
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.
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.
Any updates on this? Can't believe there is no official ace npm package...
This would be particularly useful in combination with webpack's tree-shaking.
@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
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'
Most helpful comment
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.