forked from onflow/flow-cadut
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
133 lines (133 loc) · 3.58 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
{
"name": "flow-cadut",
"version": "0.1.12",
"description": "Flow Cadence Template Utilities",
"author": "Maksim Daunarovich",
"license": "Apache-2.0",
"sideEffects": false,
"keywords": [
"flow",
"cadence",
"template",
"generator"
],
"repository": {
"type": "git",
"url": "git+https://github.com/onflow/flow-cadut.git"
},
"bugs": {
"url": "https://github.com/onflow/flow-cadut/issues"
},
"homepage": "https://github.com/onflow/flow-cadut#readme",
"private": false,
"source": "src/index.js",
"main": "dist/main.js",
"module": "dist/main.module.js",
"umd:main": "dist/main.umd.js",
"type": "commonjs",
"exports": {
".": {
"browser": "./dist/main.module.js",
"umd": "./dist/main.umd.js",
"import": "./dist/main.modern.js",
"require": "./dist/main.js"
},
"./generator": {
"browser": "./dist/generator/generator.module.js",
"umd": "./dist/generator/generator.umd.js",
"import": "./dist/generator/generator.modern.js",
"require": "./dist/generator/generator.js"
},
"./plugins/find": {
"browser": "./dist/plugins/FIND.module.js",
"umd": "./dist/plugins/FIND.umd.js",
"import": "./dist/plugins/FIND.modern.js",
"require": "./dist/plugins/FIND.js"
}
},
"scripts": {
"build": "npm-run-all --parallel build:*",
"build:core": "microbundle build --raw",
"build:generator": "microbundle build --cwd generator --external child_process",
"build:plugin-find": "microbundle build --cwd plugins/FIND",
"watch": "microbundle watch",
"lint": "eslint src",
"prettify": "prettier --write {src,tests}/**/*.js {src,tests}/*.js",
"test": "jest",
"check-headers": "sh ./check-headers.sh",
"prepublishOnly": "npm test && npm run build",
"precompile-handlebars": "node_modules/.bin/handlebars ./generator/src/templates -f ./generator/src/templates/index.js -e hbs -c handlebars",
"generate-dev": "flow-generate ./generator-test/cadence ./generator-test/src/generated -d ../../../../src",
"regenerate-test": "npm run precompile-handlebars && npm run generate-dev"
},
"bin": {
"flow-generate": "./bin/generate.js"
},
"dependencies": {
"@onflow/config": "0.0.2",
"@onflow/fcl": "^0.0.77",
"@onflow/types": "^0.0.5",
"esm": "^3.2.25",
"handlebars": "^4.7.7",
"handlebars-loader": "^1.7.1",
"prettier": "^2.3.0",
"rimraf": "^3.0.2",
"simple-git": "^2.40.0",
"yargs": "^15.4.1"
},
"devDependencies": {
"@babel/cli": "^7.14.3",
"@babel/core": "^7.14.3",
"@babel/preset-env": "^7.14.5",
"babel-jest": "^26.6.3",
"eslint": "^7.24.0",
"eslint-plugin-jest": "^24.3.6",
"jest": "^26.6.3",
"jest-esm-transformer": "^1.0.0",
"microbundle": "^0.13.0",
"npm-run-all": "^4.1.5"
},
"eslintConfig": {
"ignorePatterns": [
"**/templates/*.js"
],
"extends": [
"eslint:recommended",
"plugin:jest/recommended"
],
"env": {
"node": true,
"es6": true
},
"parserOptions": {
"ecmaVersion": 12,
"sourceType": "module"
},
"plugins": [
"jest"
]
},
"jest": {
"coveragePathIgnorePatterns": [
"/node_modules/"
],
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.jsx?$",
"testPathIgnorePatterns": [
"/dev-test/"
],
"testEnvironment": "node",
"verbose": true
},
"prettier": {
"printWidth": 100,
"endOfLine": "lf",
"semi": true,
"useTabs": false,
"singleQuote": false,
"trailingComma": "es5",
"tabWidth": 2
},
"mangle": {
"regex": "^_"
}
}