@innoways/ajv 3.0.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 ADDED
@@ -0,0 +1,45 @@
1
+ {
2
+ "name": "@innoways/ajv",
3
+ "version": "3.0.0",
4
+ "description": "drip ajv核心包",
5
+ "keywords": [
6
+ "ajv"
7
+ ],
8
+ "author": "JDFED",
9
+ "homepage": "https://github.com/JDFED/drip-form/",
10
+ "license": "MIT",
11
+ "main": "dist/cjs/index.js",
12
+ "typings": "dist/esm/index.d.ts",
13
+ "module": "dist/esm/index.js",
14
+ "distExports": {
15
+ "dist": "./dist",
16
+ "build-info": "./build-info",
17
+ "format": [
18
+ "esm",
19
+ "cjs"
20
+ ]
21
+ },
22
+ "scripts": {
23
+ "link": "yarn link",
24
+ "build": "rollup --config --sourcemap",
25
+ "build:self": "rollup --config --sourcemap --environment NODE_ENV:development:ts",
26
+ "watch": "rollup --config --watch"
27
+ },
28
+ "publishConfig": {
29
+ "registry": "https://registry.npmjs.org/",
30
+ "access": "public"
31
+ },
32
+ "repository": {
33
+ "type": "github",
34
+ "url": "https://github.com/JDFED/drip-form/"
35
+ },
36
+ "dependencies": {
37
+ "@jdfed/drip-form-plugin-formats": "^0.8.2",
38
+ "@jdfed/drip-form-plugin-keywords": "^0.8.2",
39
+ "ajv": "^8.6.2",
40
+ "ajv-errors": "^3.0.0",
41
+ "ajv-formats": "^2.1.0",
42
+ "ajv-formats-draft2019": "^1.4.3",
43
+ "ajv-keywords": "^5.0.0"
44
+ }
45
+ }
@@ -0,0 +1,13 @@
1
+ import pkg from './package.json'
2
+ import { getOutput, getExternal, getPlugins } from '../../rollup.base.config'
3
+
4
+ export default {
5
+ input: 'src/index.ts',
6
+ output: getOutput(pkg),
7
+ external: getExternal(pkg),
8
+ onwarn(warning, warn) {
9
+ if (warning.code === 'THIS_IS_UNDEFINED') return
10
+ warn(warning) // this requires Rollup 0.46
11
+ },
12
+ plugins: getPlugins(pkg, process.argv),
13
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "extends": "../../tsconfig.base.json",
3
+ "include": ["./src/"],
4
+ "compilerOptions": {
5
+ "tsBuildInfoFile": "./build-info/tsconfig.tsbuildinfo"
6
+ }
7
+ }