json-rules-engine-simplified 0.1.17 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,101 +1,101 @@
1
- {
2
- "name": "json-rules-engine-simplified",
3
- "version": "0.1.17",
4
- "description": "Simpl JSON rules engine",
5
- "private": false,
6
- "author": "mavarazy@gmail.com",
7
- "scripts": {
8
- "build:lib": "rimraf lib && cross-env NODE_ENV=production babel -d lib/ src/",
9
- "build:dist": "rimraf dist && cross-env NODE_ENV=production webpack --config webpack.config.dist.js --optimize-minimize",
10
- "cs-check": "prettier -l $npm_package_prettierOptions '{src,test}/**/*.js'",
11
- "cs-format": "prettier $npm_package_prettierOptions '{src,test}/**/*.js' --write",
12
- "dist": "npm run build:lib && npm run build:dist",
13
- "lint": "eslint src test",
14
- "precommit": "lint-staged",
15
- "publish-to-npm": "npm run dist && npm publish && npm version patch",
16
- "tdd": "jest --watchAll",
17
- "test": "jest --coverage"
18
- },
19
- "prettierOptions": "--jsx-bracket-same-line --trailing-comma es5 --semi",
20
- "jest": {
21
- "verbose": true,
22
- "collectCoverage": true,
23
- "collectCoverageFrom": [
24
- "src/**/*.{js,jsx}"
25
- ]
26
- },
27
- "lint-staged": {
28
- "{src,test}/**/*.js": [
29
- "npm run lint",
30
- "npm run cs-format",
31
- "git add"
32
- ]
33
- },
34
- "main": "lib/index.js",
35
- "files": [
36
- "dist",
37
- "lib"
38
- ],
39
- "engineStrict": false,
40
- "engines": {
41
- "npm": "^2.14.7",
42
- "node": ">=8"
43
- },
44
- "dependencies": {
45
- "deep-equal": "1.0.1",
46
- "predicate": "1.2.0",
47
- "selectn": "1.1.2"
48
- },
49
- "devDependencies": {
50
- "atob": "^2.0.3",
51
- "babel-cli": "^6.26.0",
52
- "babel-core": "^6.26.0",
53
- "babel-eslint": "^7.2.3",
54
- "babel-jest": "^20.0.3",
55
- "babel-loader": "^7.1.2",
56
- "babel-plugin-transform-class-properties": "^6.24.1",
57
- "babel-polyfill": "^6.26.0",
58
- "babel-preset-env": "^1.6.0",
59
- "babel-preset-es2015": "^6.24.1",
60
- "babel-preset-react": "^6.24.1",
61
- "babel-register": "^6.26.0",
62
- "codemirror": "^5.29.0",
63
- "coveralls": "^2.13.1",
64
- "cross-env": "^5.0.5",
65
- "css-loader": "^0.28.7",
66
- "eslint": "^4.6.1",
67
- "eslint-plugin-jest": "^20.0.3",
68
- "eslint-plugin-react": "^7.3.0",
69
- "eslint-plugin-standard": "^3.0.1",
70
- "exit-hook": "^1.1.1",
71
- "express": "^4.15.4",
72
- "extract-text-webpack-plugin": "^3.0.0",
73
- "gh-pages": "^1.0.0",
74
- "has-flag": "^2.0.0",
75
- "html": "1.0.0",
76
- "husky": "^0.14.3",
77
- "jest": "^20.0.4",
78
- "jsdom": "^11.2.0",
79
- "lint-staged": "^4.1.0",
80
- "prettier": "^1.6.1",
81
- "regenerator-runtime": "^0.11.0",
82
- "rimraf": "^2.6.1",
83
- "sinon": "^3.2.1",
84
- "style-loader": "^0.18.2",
85
- "webpack": "^3.5.5"
86
- },
87
- "directories": {
88
- "test": "test"
89
- },
90
- "repository": {
91
- "type": "git",
92
- "url": "git+https://github.com/RxNT/json-rules-engine-simplified.git"
93
- },
94
- "keywords": [
95
- "rules",
96
- "engine",
97
- "rules engine"
98
- ],
99
- "license": "Apache-2.0",
100
- "homepage": "https://github.com/RxNT/json-rules-engine-simplified#readme"
101
- }
1
+ {
2
+ "name": "json-rules-engine-simplified",
3
+ "version": "0.2.0",
4
+ "description": "Simpl JSON rules engine",
5
+ "private": false,
6
+ "author": "mavarazy@gmail.com",
7
+ "scripts": {
8
+ "build:lib": "rimraf lib && cross-env NODE_ENV=production babel -d lib/ src/",
9
+ "build:dist": "rimraf dist && cross-env NODE_ENV=production webpack --config webpack.config.dist.js --optimize-minimize",
10
+ "cs-check": "prettier -l $npm_package_prettierOptions '{src,test}/**/*.js'",
11
+ "cs-format": "prettier $npm_package_prettierOptions '{src,test}/**/*.js' --write",
12
+ "dist": "npm run build:lib && npm run build:dist",
13
+ "lint": "eslint src test",
14
+ "precommit": "lint-staged",
15
+ "publish-to-npm": "npm run dist && npm publish && npm version patch",
16
+ "tdd": "jest --watchAll",
17
+ "test": "jest --coverage"
18
+ },
19
+ "prettierOptions": "--jsx-bracket-same-line --trailing-comma es5 --semi",
20
+ "jest": {
21
+ "verbose": true,
22
+ "collectCoverage": true,
23
+ "collectCoverageFrom": [
24
+ "src/**/*.{js,jsx}"
25
+ ]
26
+ },
27
+ "lint-staged": {
28
+ "{src,test}/**/*.js": [
29
+ "npm run lint",
30
+ "npm run cs-format",
31
+ "git add"
32
+ ]
33
+ },
34
+ "main": "lib/index.js",
35
+ "files": [
36
+ "dist",
37
+ "lib"
38
+ ],
39
+ "engineStrict": false,
40
+ "engines": {
41
+ "node": ">=20.0.0",
42
+ "npm": ">=10.0.0"
43
+ },
44
+ "dependencies": {
45
+ "deep-equal": "1.0.1",
46
+ "predicate": "1.2.0",
47
+ "selectn": "1.1.2"
48
+ },
49
+ "devDependencies": {
50
+ "atob": "^2.0.3",
51
+ "babel-cli": "^6.26.0",
52
+ "babel-core": "^6.26.0",
53
+ "babel-eslint": "^7.2.3",
54
+ "babel-jest": "^20.0.3",
55
+ "babel-loader": "^7.1.2",
56
+ "babel-plugin-transform-class-properties": "^6.24.1",
57
+ "babel-polyfill": "^6.26.0",
58
+ "babel-preset-env": "^1.6.0",
59
+ "babel-preset-es2015": "^6.24.1",
60
+ "babel-preset-react": "^6.24.1",
61
+ "babel-register": "^6.26.0",
62
+ "codemirror": "^5.29.0",
63
+ "coveralls": "^2.13.1",
64
+ "cross-env": "^5.0.5",
65
+ "css-loader": "^0.28.7",
66
+ "eslint": "^4.6.1",
67
+ "eslint-plugin-jest": "^20.0.3",
68
+ "eslint-plugin-react": "^7.3.0",
69
+ "eslint-plugin-standard": "^3.0.1",
70
+ "exit-hook": "^1.1.1",
71
+ "express": "^4.15.4",
72
+ "extract-text-webpack-plugin": "^3.0.0",
73
+ "gh-pages": "^1.0.0",
74
+ "has-flag": "^2.0.0",
75
+ "html": "1.0.0",
76
+ "husky": "^0.14.3",
77
+ "jest": "^20.0.4",
78
+ "jsdom": "^11.2.0",
79
+ "lint-staged": "^4.1.0",
80
+ "prettier": "^1.6.1",
81
+ "regenerator-runtime": "^0.11.0",
82
+ "rimraf": "^2.6.1",
83
+ "sinon": "^3.2.1",
84
+ "style-loader": "^0.18.2",
85
+ "webpack": "^3.5.5"
86
+ },
87
+ "directories": {
88
+ "test": "test"
89
+ },
90
+ "repository": {
91
+ "type": "git",
92
+ "url": "git+https://github.com/RxNT/json-rules-engine-simplified.git"
93
+ },
94
+ "keywords": [
95
+ "rules",
96
+ "engine",
97
+ "rules engine"
98
+ ],
99
+ "license": "Apache-2.0",
100
+ "homepage": "https://github.com/RxNT/json-rules-engine-simplified#readme"
101
+ }
package/CHANGELOG.md DELETED
@@ -1,162 +0,0 @@
1
- <a name="0.1.17"></a>
2
- ## <small>0.1.17 (2018-04-05)</small>
3
-
4
- * 0.1.17 ([6c0d891](https://github.com/RxNT/json-rules-engine-simplified/commit/6c0d891))
5
- * Adding Changelog ([1bc894e](https://github.com/RxNT/json-rules-engine-simplified/commit/1bc894e))
6
- * fix #23 ([6322d1b](https://github.com/RxNT/json-rules-engine-simplified/commit/6322d1b)), closes [#23](https://github.com/RxNT/json-rules-engine-simplified/issues/23)
7
- * test for #22 ([3e59ef7](https://github.com/RxNT/json-rules-engine-simplified/commit/3e59ef7)), closes [#22](https://github.com/RxNT/json-rules-engine-simplified/issues/22)
8
-
9
-
10
-
11
- <a name="0.1.16"></a>
12
- ## <small>0.1.16 (2018-02-16)</small>
13
-
14
- * #16 ([c271482](https://github.com/RxNT/json-rules-engine-simplified/commit/c271482)), closes [#16](https://github.com/RxNT/json-rules-engine-simplified/issues/16)
15
- * 0.1.15 ([5bbb244](https://github.com/RxNT/json-rules-engine-simplified/commit/5bbb244))
16
- * 0.1.16 ([9febb8e](https://github.com/RxNT/json-rules-engine-simplified/commit/9febb8e))
17
- * clean up ([0855e59](https://github.com/RxNT/json-rules-engine-simplified/commit/0855e59))
18
- * fix #12 ([cee44a7](https://github.com/RxNT/json-rules-engine-simplified/commit/cee44a7)), closes [#12](https://github.com/RxNT/json-rules-engine-simplified/issues/12)
19
- * fix #20 ([babbd55](https://github.com/RxNT/json-rules-engine-simplified/commit/babbd55)), closes [#20](https://github.com/RxNT/json-rules-engine-simplified/issues/20)
20
- * Fixes #18 ([5f2b777](https://github.com/RxNT/json-rules-engine-simplified/commit/5f2b777)), closes [#18](https://github.com/RxNT/json-rules-engine-simplified/issues/18)
21
-
22
-
23
-
24
- <a name="0.1.14"></a>
25
- ## <small>0.1.14 (2017-10-30)</small>
26
-
27
- * #15 missed validation update ([bb51457](https://github.com/RxNT/json-rules-engine-simplified/commit/bb51457)), closes [#15](https://github.com/RxNT/json-rules-engine-simplified/issues/15)
28
- * 0.1.14 ([1222800](https://github.com/RxNT/json-rules-engine-simplified/commit/1222800))
29
-
30
-
31
-
32
- <a name="0.1.13"></a>
33
- ## <small>0.1.13 (2017-10-30)</small>
34
-
35
- * 0.1.13 ([055c17e](https://github.com/RxNT/json-rules-engine-simplified/commit/055c17e))
36
- * fix #15 ([4501a6d](https://github.com/RxNT/json-rules-engine-simplified/commit/4501a6d)), closes [#15](https://github.com/RxNT/json-rules-engine-simplified/issues/15)
37
-
38
-
39
-
40
- <a name="0.1.12"></a>
41
- ## <small>0.1.12 (2017-09-11)</small>
42
-
43
- * #14 ([0b25980](https://github.com/RxNT/json-rules-engine-simplified/commit/0b25980)), closes [#14](https://github.com/RxNT/json-rules-engine-simplified/issues/14)
44
- * #14 ([cf6ffe0](https://github.com/RxNT/json-rules-engine-simplified/commit/cf6ffe0)), closes [#14](https://github.com/RxNT/json-rules-engine-simplified/issues/14)
45
- * 0.1.12 ([fec8e60](https://github.com/RxNT/json-rules-engine-simplified/commit/fec8e60))
46
- * fix #14 ([68a4438](https://github.com/RxNT/json-rules-engine-simplified/commit/68a4438)), closes [#14](https://github.com/RxNT/json-rules-engine-simplified/issues/14)
47
-
48
-
49
-
50
- <a name="0.1.11"></a>
51
- ## <small>0.1.11 (2017-09-04)</small>
52
-
53
- * #11 some more tests ([b026cf0](https://github.com/RxNT/json-rules-engine-simplified/commit/b026cf0)), closes [#11](https://github.com/RxNT/json-rules-engine-simplified/issues/11)
54
- * #11 some tests for failing travis ([40861ec](https://github.com/RxNT/json-rules-engine-simplified/commit/40861ec)), closes [#11](https://github.com/RxNT/json-rules-engine-simplified/issues/11)
55
- * 0.1.11 ([69cb069](https://github.com/RxNT/json-rules-engine-simplified/commit/69cb069))
56
- * fix #13 ([f561fe0](https://github.com/RxNT/json-rules-engine-simplified/commit/f561fe0)), closes [#13](https://github.com/RxNT/json-rules-engine-simplified/issues/13)
57
-
58
-
59
-
60
- <a name="0.1.10"></a>
61
- ## <small>0.1.10 (2017-08-10)</small>
62
-
63
- * #8 ([b48735a](https://github.com/RxNT/json-rules-engine-simplified/commit/b48735a)), closes [#8](https://github.com/RxNT/json-rules-engine-simplified/issues/8)
64
- * 0.1.10 ([09225f6](https://github.com/RxNT/json-rules-engine-simplified/commit/09225f6))
65
- * fix #8 ([cd78db5](https://github.com/RxNT/json-rules-engine-simplified/commit/cd78db5)), closes [#8](https://github.com/RxNT/json-rules-engine-simplified/issues/8)
66
- * Fixing sequence of actions during release ([c0fb150](https://github.com/RxNT/json-rules-engine-simplified/commit/c0fb150))
67
-
68
-
69
-
70
- <a name="0.1.8"></a>
71
- ## <small>0.1.8 (2017-08-10)</small>
72
-
73
- * 0.1.8 ([3e4cf34](https://github.com/RxNT/json-rules-engine-simplified/commit/3e4cf34))
74
- * fix #10 ([a9acaa3](https://github.com/RxNT/json-rules-engine-simplified/commit/a9acaa3)), closes [#10](https://github.com/RxNT/json-rules-engine-simplified/issues/10)
75
- * toError is none blocking in production ([3d0c582](https://github.com/RxNT/json-rules-engine-simplified/commit/3d0c582))
76
- * toError is none blocking in production ([edff07e](https://github.com/RxNT/json-rules-engine-simplified/commit/edff07e))
77
-
78
-
79
-
80
- <a name="0.1.7"></a>
81
- ## <small>0.1.7 (2017-08-09)</small>
82
-
83
- * #5 ([e56ea95](https://github.com/RxNT/json-rules-engine-simplified/commit/e56ea95)), closes [#5](https://github.com/RxNT/json-rules-engine-simplified/issues/5)
84
- * #5 Updating the fix ([c4514d0](https://github.com/RxNT/json-rules-engine-simplified/commit/c4514d0)), closes [#5](https://github.com/RxNT/json-rules-engine-simplified/issues/5)
85
- * 0.1.7 ([5018d35](https://github.com/RxNT/json-rules-engine-simplified/commit/5018d35))
86
-
87
-
88
-
89
- <a name="0.1.6"></a>
90
- ## <small>0.1.6 (2017-08-09)</small>
91
-
92
- * 0.1.6 ([15850bb](https://github.com/RxNT/json-rules-engine-simplified/commit/15850bb))
93
- * Fix, predicates run against condition arrays and the elements ([96aa6b2](https://github.com/RxNT/json-rules-engine-simplified/commit/96aa6b2))
94
- * fixing coveralls configuration ([029798e](https://github.com/RxNT/json-rules-engine-simplified/commit/029798e))
95
- * Update checkField.js ([917ae88](https://github.com/RxNT/json-rules-engine-simplified/commit/917ae88))
96
- * Want to test empty object ([10a8209](https://github.com/RxNT/json-rules-engine-simplified/commit/10a8209))
97
-
98
-
99
-
100
- <a name="0.1.5"></a>
101
- ## <small>0.1.5 (2017-08-01)</small>
102
-
103
- * #3 Adding appropriate error management ([235ab56](https://github.com/RxNT/json-rules-engine-simplified/commit/235ab56)), closes [#3](https://github.com/RxNT/json-rules-engine-simplified/issues/3)
104
- * #4 ([b6ac613](https://github.com/RxNT/json-rules-engine-simplified/commit/b6ac613)), closes [#4](https://github.com/RxNT/json-rules-engine-simplified/issues/4)
105
- * #4 ([b4164d2](https://github.com/RxNT/json-rules-engine-simplified/commit/b4164d2)), closes [#4](https://github.com/RxNT/json-rules-engine-simplified/issues/4)
106
- * #4 updating configs ([2b139bf](https://github.com/RxNT/json-rules-engine-simplified/commit/2b139bf)), closes [#4](https://github.com/RxNT/json-rules-engine-simplified/issues/4)
107
- * #6 Updating documentation ([6bab1e4](https://github.com/RxNT/json-rules-engine-simplified/commit/6bab1e4)), closes [#6](https://github.com/RxNT/json-rules-engine-simplified/issues/6)
108
- * 0.1.5 ([679130f](https://github.com/RxNT/json-rules-engine-simplified/commit/679130f))
109
- * Adding travis configurations ([856b5ee](https://github.com/RxNT/json-rules-engine-simplified/commit/856b5ee))
110
- * fix #4 ([7be1d2e](https://github.com/RxNT/json-rules-engine-simplified/commit/7be1d2e)), closes [#4](https://github.com/RxNT/json-rules-engine-simplified/issues/4)
111
- * fix #6 ([87a4d89](https://github.com/RxNT/json-rules-engine-simplified/commit/87a4d89)), closes [#6](https://github.com/RxNT/json-rules-engine-simplified/issues/6)
112
- * fix #7 ([02cea19](https://github.com/RxNT/json-rules-engine-simplified/commit/02cea19)), closes [#7](https://github.com/RxNT/json-rules-engine-simplified/issues/7)
113
- * some more tests ([8e33ed2](https://github.com/RxNT/json-rules-engine-simplified/commit/8e33ed2))
114
-
115
-
116
-
117
- <a name="0.1.4"></a>
118
- ## <small>0.1.4 (2017-07-12)</small>
119
-
120
- * #1 ([0c7cdf1](https://github.com/RxNT/json-rules-engine-simplified/commit/0c7cdf1)), closes [#1](https://github.com/RxNT/json-rules-engine-simplified/issues/1)
121
- * 0.1.4 ([079fc2a](https://github.com/RxNT/json-rules-engine-simplified/commit/079fc2a))
122
- * Aligning merge with lint ([04b7f96](https://github.com/RxNT/json-rules-engine-simplified/commit/04b7f96))
123
- * fix #1 ([4df43e8](https://github.com/RxNT/json-rules-engine-simplified/commit/4df43e8)), closes [#1](https://github.com/RxNT/json-rules-engine-simplified/issues/1)
124
- * Updating README ([f8c518a](https://github.com/RxNT/json-rules-engine-simplified/commit/f8c518a))
125
-
126
-
127
-
128
- <a name="0.1.3"></a>
129
- ## <small>0.1.3 (2017-07-10)</small>
130
-
131
- * 0.1.3 ([0bf731f](https://github.com/RxNT/json-rules-engine-simplified/commit/0bf731f))
132
- * Added the test scenarios for nested array ([fce6748](https://github.com/RxNT/json-rules-engine-simplified/commit/fce6748))
133
- * Fixing `not` operation ([7685be4](https://github.com/RxNT/json-rules-engine-simplified/commit/7685be4))
134
- * Fixing example with nested array ([3555909](https://github.com/RxNT/json-rules-engine-simplified/commit/3555909))
135
- * Fixing validation ([6449c59](https://github.com/RxNT/json-rules-engine-simplified/commit/6449c59))
136
- * Styling feedback ([0ac40a4](https://github.com/RxNT/json-rules-engine-simplified/commit/0ac40a4))
137
- * Updating documentation ([0ca291a](https://github.com/RxNT/json-rules-engine-simplified/commit/0ca291a))
138
-
139
-
140
-
141
- <a name="0.1.2"></a>
142
- ## <small>0.1.2 (2017-07-08)</small>
143
-
144
- * 0.1.2 ([ab42f48](https://github.com/RxNT/json-rules-engine-simplified/commit/ab42f48))
145
- * Updating publish to npm script ([78cfedc](https://github.com/RxNT/json-rules-engine-simplified/commit/78cfedc))
146
-
147
-
148
-
149
- <a name="0.1.1"></a>
150
- ## <small>0.1.1 (2017-07-08)</small>
151
-
152
- * 0.1.1 ([6cfa1d0](https://github.com/RxNT/json-rules-engine-simplified/commit/6cfa1d0))
153
- * abstracting engine ([9bba768](https://github.com/RxNT/json-rules-engine-simplified/commit/9bba768))
154
- * bumping coverage to 100% ([602ca07](https://github.com/RxNT/json-rules-engine-simplified/commit/602ca07))
155
- * Cleaning up dependencies ([a3e61df](https://github.com/RxNT/json-rules-engine-simplified/commit/a3e61df))
156
- * Disable validation of nested structures ([058ce14](https://github.com/RxNT/json-rules-engine-simplified/commit/058ce14))
157
- * Initial commit ([459d691](https://github.com/RxNT/json-rules-engine-simplified/commit/459d691))
158
- * Merging from conditionals project ([245c29c](https://github.com/RxNT/json-rules-engine-simplified/commit/245c29c))
159
- * updating validation ([7344f44](https://github.com/RxNT/json-rules-engine-simplified/commit/7344f44))
160
-
161
-
162
-