-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
84 lines (84 loc) · 2.43 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
{
"name": "@noflux/state",
"version": "1.0.1",
"description": "A state store for noflux",
"main": "dist/noflux-state.cjs.js",
"module": "dist/noflux-state.es.js",
"unpkg": "dist/noflux-state.umd.js",
"types": "index.d.ts",
"scripts": {
"prepublish": "npm run build",
"lint": "eslint src/ test/ benchmark/",
"lint:watch": "esw src/ test/ benchmark/ -w",
"coverage": "npm run ava:coverage",
"ava": "ava --verbose",
"ava:watch": "ava --watch --verbose",
"ava:coverage": "nyc ava --verbose",
"dev": "concurrently -p \"[{name}]\" -n \"lint,ava\" \"npm run lint:watch\" \"npm run ava:watch\"",
"test": "npm run lint && npm run coverage",
"benchmark": "babel-node benchmark/",
"clean": "rimraf dist",
"build": "npm run clean && npm run build:cjs && npm run build:es && npm run build:umd && npm run build:umd-min",
"build:cjs": "cross-env TARGET=cjs rollup -c",
"build:es": "cross-env TARGET=es rollup -c",
"build:umd": "cross-env TARGET=umd rollup -c",
"build:umd-min": "cross-env TARGET=umd NODE_ENV=production rollup -c"
},
"ava": {
"files": [
"test/**/*.js"
],
"sources": [
"**/*.{js,jsx}",
"!dist/**/*"
],
"babel": {
"extensions": [
"js"
]
},
"require": [
"@babel/register"
],
"failWithoutAssertions": false
},
"repository": {
"type": "git",
"url": "git+https://github.com/nofluxjs/state.git"
},
"keywords": [
"noflux",
"state"
],
"author": "i@malash.me",
"license": "MIT",
"bugs": {
"url": "https://github.com/nofluxjs/state/issues"
},
"homepage": "https://github.com/nofluxjs/state#readme",
"devDependencies": {
"@babel/cli": "^7.0.0",
"@babel/core": "^7.0.1",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@babel/register": "^7.0.0",
"ava": "^1.0.0-beta.8",
"babel-eslint": "^9.0.0",
"benchmark": "^2.1.4",
"concurrently": "^4.0.1",
"cross-env": "^5.2.0",
"eslint": "^5.5.0",
"eslint-config-airbnb-base": "^13.1.0",
"eslint-plugin-import": "^2.14.0",
"eslint-watch": "^4.0.2",
"nyc": "^13.0.1",
"rimraf": "^2.6.2",
"rollup": "^0.65.2",
"rollup-plugin-babel": "^4.0.3",
"rollup-plugin-commonjs": "^9.1.6",
"rollup-plugin-filesize": "^4.0.1",
"rollup-plugin-node-resolve": "^3.4.0",
"rollup-plugin-replace": "^2.0.0",
"rollup-plugin-uglify": "^5.0.2"
}
}