Skip to content
This repository was archived by the owner on Feb 11, 2021. It is now read-only.

Commit 1a63d03

Browse files
committed
Add babel library build.
Adds a babel library build for dev and release minified version.
1 parent b009067 commit 1a63d03

File tree

2 files changed

+35
-1
lines changed

2 files changed

+35
-1
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
*.swp
1+
node_modules
2+
lib

package.json

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"name": "redux-trigger",
3+
"version": "1.0.0",
4+
"description": "Redux State Triggers",
5+
"scripts": {
6+
"build-lib": "npm run clean && npm run build-lib-dev && npm run build-lib-release",
7+
"build-lib-dev": "node_modules/babel/bin/babel.js src --out-dir lib",
8+
"build-lib-release": "node_modules/babel/bin/babel.js src/index.js --out-file lib/index.min.js --plugins uglify:after",
9+
"clean": "rimraf lib"
10+
},
11+
"repository": {
12+
"type": "git",
13+
"url": "git+https://github.com/coderkevin/redux-trigger.git"
14+
},
15+
"keywords": [
16+
"redux",
17+
"react",
18+
"reactjs",
19+
"webpack"
20+
],
21+
"author": "Kevin Killingsworth (https://github.com/coderkevin)",
22+
"license": "MIT",
23+
"bugs": {
24+
"url": "https://github.com/coderkevin/redux-trigger/issues"
25+
},
26+
"homepage": "https://github.com/coderkevin/redux-trigger#readme",
27+
"engine": "node >= 5.7.1",
28+
"devDependencies": {
29+
"babel": "^5.8.35",
30+
"babel-plugin-uglify": "^1.0.2",
31+
"rimraf": "^2.5.2"
32+
}
33+
}

0 commit comments

Comments
 (0)