-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
61 lines (61 loc) · 2.29 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
{
"name": "json-logic-engine",
"version": "4.0.4",
"description": "Construct complex rules with JSON & process them.",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"author": "Jesse Daniel Mitchell",
"repository": {
"url": "https://github.com/TotalTechGeek/json-logic-engine"
},
"license": "MIT",
"scripts": {
"test": "cross-env NODE_OPTIONS=--experimental-vm-modules nyc jest --coverage",
"coverage": "coveralls < coverage/lcov.info",
"prepublish": "npm run build",
"build": "run-script-os",
"build:win32": "rm -rf dist && rm -f *.d.ts && rm -f utilities/*.d.ts && rollup index.js --file dist/cjs/index.js --format cjs --exports named && rollup index.js --file dist/esm/index.js --format esm && echo { \"type\": \"module\" } > dist/esm/package.json && echo { \"type\": \"commonjs\" } > dist/cjs/package.json && cd dist && standard --fix */*.js && tsc ../index.js --declaration --allowJs --emitDeclarationOnly --target ESNext --moduleResolution node",
"build:default": "rm -rf dist && rm -f *.d.ts && rm -f utilities/*.d.ts && rollup index.js --file dist/cjs/index.js --format cjs --exports named && rollup index.js --file dist/esm/index.js --format esm && echo '{ \"type\": \"module\" }' > dist/esm/package.json && echo '{ \"type\": \"commonjs\" }' > dist/cjs/package.json && cd dist && standard --fix */*.js && tsc ../index.js --declaration --allowJs --emitDeclarationOnly --target ESNext --moduleResolution node"
},
"devDependencies": {
"coveralls": "^3.1.1",
"cross-env": "^7.0.3",
"eslint": "^7.32.0",
"eslint-config-standard": "^16.0.3",
"eslint-plugin-import": "^2.24.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1",
"jest": "^27.3.1",
"nyc": "^15.1.0",
"rollup": "^2.58.3",
"run-script-os": "^1.1.6",
"standard": "^16.0.4",
"typescript": "^4.4.4"
},
"engines": {
"node": ">=12.22.7"
},
"jest": {
"testPathIgnorePatterns": [
"./bench"
]
},
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"types": "./index.d.ts"
}
},
"types": "./index.d.ts",
"type": "module",
"sideEffects": false,
"keywords": [
"json",
"logic",
"jsonlogic",
"rules",
"sandbox",
"engine"
]
}