-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
54 lines (54 loc) · 1.47 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{
"name": "atom-cache",
"version": "0.0.10",
"description": "Simple Async Cache for Atomic Values",
"main": "lib/index.js",
"module": "es/index.js",
"repository": "rt2zz/storage-memory",
"files": [
"es",
"src",
"lib"
],
"scripts": {
"build": "npm run flow-copy && npm run build:commonjs && npm run build:es",
"build:commonjs": "cross-env BABEL_ENV=commonjs babel src --out-dir lib",
"build:es": "cross-env BABEL_ENV=es babel src --out-dir es",
"clean": "rimraf es && rimraf lib",
"flow-copy": "flow-copy-source src es && flow-copy-source src lib",
"precommit": "lint-staged",
"prepublishOnly": "npm run clean && npm run build",
"test": "BABEL_ENV=commonjs ava"
},
"lint-staged": {
"src/**/*.js": [
"prettier --no-semi --single-quote --trailing-comma --parser=flow --write",
"git add"
]
},
"ava": {
"require": [
"babel-polyfill",
"babel-register"
],
"babel": "inherit"
},
"author": "rt2zz",
"license": "MIT",
"devDependencies": {
"ava": "^0.25.0",
"babel-cli": "^6.26.0",
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.0",
"babel-preset-env": "^1.6.1",
"babel-preset-flow": "^6.23.0",
"cross-env": "^5.1.3",
"flow-bin": "^0.67.1",
"flow-copy-source": "^1.2.1",
"husky": "^0.14.3",
"lint-staged": "^6.1.0",
"prettier": "^1.10.2",
"redux-persist-node-storage": "^2.0.0",
"rimraf": "^2.6.2",
"storage-memory": "0.0.2"
}
}