mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-05-03 03:00:14 -04:00
* Add webpack support * Move Node.js-only code from src/coffee-script.coffee to src/index.coffee * Use lib/coffee-script/index.js as npm package's "main" script * Export CoffeeScript from src/browser.coffee * Set package.json's "browser" field to lib/coffee-script/browser.js (used by webpack as entry point) * Use lib/coffee-script/browser.js as bower package's "main" script * Use NOP moduleMain when generating parser with Jison * Remove legacy debug code from browser.coffee * Improve comments, style * Fix path * Remove stub that was only to avoid breaking browser tests; compensate for the lack of stub when running the browser tests in Node * Update output * Add test:webpack task to Cakefile * Update output files * Run browser tests against webpack build * Fix newline at end of file * Export webpack test bundle as CommonJS module * Remove build:webpack task * Save webpack build to tmpdir; suppress build output unless it fails
54 lines
1.2 KiB
JSON
54 lines
1.2 KiB
JSON
{
|
|
"name": "coffeescript",
|
|
"description": "Unfancy JavaScript",
|
|
"keywords": [
|
|
"javascript",
|
|
"language",
|
|
"coffeescript",
|
|
"compiler"
|
|
],
|
|
"author": "Jeremy Ashkenas",
|
|
"version": "2.0.0-beta1",
|
|
"license": "MIT",
|
|
"engines": {
|
|
"node": ">=7.6.0"
|
|
},
|
|
"directories": {
|
|
"lib": "./lib/coffeescript"
|
|
},
|
|
"main": "./lib/coffeescript/index",
|
|
"browser": "./lib/coffeescript/browser",
|
|
"bin": {
|
|
"coffee": "./bin/coffee",
|
|
"cake": "./bin/cake"
|
|
},
|
|
"files": [
|
|
"bin",
|
|
"lib",
|
|
"register.js",
|
|
"repl.js"
|
|
],
|
|
"scripts": {
|
|
"test": "node ./bin/cake test",
|
|
"test-harmony": "node --harmony ./bin/cake test"
|
|
},
|
|
"homepage": "http://coffeescript.org",
|
|
"bugs": "https://github.com/jashkenas/coffeescript/issues",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/jashkenas/coffeescript.git"
|
|
},
|
|
"devDependencies": {
|
|
"babel-core": "^6.24.1",
|
|
"babel-preset-babili": "0.0.12",
|
|
"babel-preset-env": "^1.4.0",
|
|
"docco": "~0.7.0",
|
|
"highlight.js": "~9.11.0",
|
|
"jison": ">=0.4.17",
|
|
"markdown-it": "^8.3.1",
|
|
"underscore": "~1.8.3",
|
|
"webpack": "^2.5.1"
|
|
},
|
|
"dependencies": {}
|
|
}
|