diff options
author | Alex Mingoia <talk@alexmingoia.com> | 2016-05-10 00:09:28 -0700 |
---|---|---|
committer | Alex Mingoia <talk@alexmingoia.com> | 2016-05-10 00:09:28 -0700 |
commit | 7de41f10b4ff0f0d6b45d59bee0f166c3cfe3f9f (patch) | |
tree | 9ee160ba5b7dab900ccd1cfa657760e4103a175e /package.json | |
parent | 777472b3830cb3d2ff3390003ea422c6d4522715 (diff) | |
download | purs-loader-7de41f10b4ff0f0d6b45d59bee0f166c3cfe3f9f.tar.gz purs-loader-7de41f10b4ff0f0d6b45d59bee0f166c3cfe3f9f.tar.zst purs-loader-7de41f10b4ff0f0d6b45d59bee0f166c3cfe3f9f.zip |
Refactor to compile independently of purescript-webpack-plugin.
- Remove dependence on purescript-webpack-plugin
- Fixes double-compilation issue by loading compiled JS instead of adding
dependency.
- Uses `psc-ide-server` for fast rebuilds.
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 59 |
1 files changed, 39 insertions, 20 deletions
diff --git a/package.json b/package.json index 6ab55ec..4cbdd72 100644 --- a/package.json +++ b/package.json | |||
@@ -1,30 +1,49 @@ | |||
1 | { | 1 | { |
2 | "name": "purs-loader", | 2 | "name": "purs-loader", |
3 | "version": "0.6.0", | 3 | "version": "1.0.0", |
4 | "description": "PureScript loader for webpack", | 4 | "description": "A webpack loader for PureScript.", |
5 | "license": "MIT", | 5 | "main": "index.js", |
6 | "repository": "ethul/purs-loader", | ||
7 | "author": { | ||
8 | "name": "Eric Thul", | ||
9 | "email": "thul.eric@gmail.com" | ||
10 | }, | ||
11 | "scripts": { | ||
12 | "build": "npm run-script build:compile && npm run-script build:docs && npm run-script build:package", | ||
13 | "build:compile": "pulp build -o build --force", | ||
14 | "build:docs": "pulp docs", | ||
15 | "build:package": "webpack --progress --colors --profile --bail", | ||
16 | "build:watch": "pulp -w build -o build --force", | ||
17 | "build:json": "webpack --progress --colors --profile --bail --json > index.json", | ||
18 | "prepublish": "npm run-script build" | ||
19 | }, | ||
20 | "files": [ | 6 | "files": [ |
21 | "index.js" | 7 | "index.js" |
22 | ], | 8 | ], |
23 | "devDependencies": { | 9 | "scripts": { |
24 | "webpack": "^1.8.4" | 10 | "build": "babel src/index.js -o index.js", |
11 | "test": "echo \"Error: no test specified\" && exit 1" | ||
12 | }, | ||
13 | "repository": { | ||
14 | "type": "git", | ||
15 | "url": "git://github.com/alexmingoia/purs-loader.git" | ||
16 | }, | ||
17 | "keywords": [ | ||
18 | "loader", | ||
19 | "webpack", | ||
20 | "purescript", | ||
21 | "purs-loader", | ||
22 | "purs-loader" | ||
23 | ], | ||
24 | "author": "Alexander C. Mingoia", | ||
25 | "contributors": [ | ||
26 | "Eric Thul" | ||
27 | ], | ||
28 | "license": "MIT", | ||
29 | "bugs": { | ||
30 | "url": "https://github.com/alexmingoia/purs-loader/issues" | ||
31 | }, | ||
32 | "homepage": "https://github.com/alexmingoia/purs-loader#readme", | ||
33 | "peerDependencies": { | ||
34 | "webpack": ">=1.0.0 <3.0.0", | ||
35 | "purescript": ">=0.8.0" | ||
25 | }, | 36 | }, |
26 | "dependencies": { | 37 | "dependencies": { |
38 | "bluebird": "^3.3.5", | ||
39 | "chalk": "^1.1.3", | ||
27 | "debug": "^2.2.0", | 40 | "debug": "^2.2.0", |
28 | "js-string-escape": "^1.0.1" | 41 | "globby": "^4.0.0", |
42 | "loader-utils": "^0.2.14", | ||
43 | "promise-retry": "^1.1.0" | ||
44 | }, | ||
45 | "devDependencies": { | ||
46 | "babel-cli": "^6.8.0", | ||
47 | "babel-preset-es2015": "^6.6.0" | ||
29 | } | 48 | } |
30 | } | 49 | } |