This repository was archived by the owner on Mar 26, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathpackage.json
121 lines (121 loc) · 3.22 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
{
"name": "amis-formula",
"version": "1.3.15",
"description": "负责 amis 里面的表达式实现,内置公式,编辑器等",
"main": "dist/index.js",
"scripts": {
"build": "npm run clean-dist && NODE_ENV=production rollup -c && npm run declaration && npm run genDoc",
"lib": "npm run clean-dist && NODE_ENV=lib rollup -c",
"clean-dist": "rimraf dist/*",
"declaration": "tsc --allowJs --declaration --emitDeclarationOnly --declarationDir ./dist --rootDir ./src",
"test": "jest",
"coverage": "jest --coverage",
"genDoc": "ts-node ./scripts/genDoc.ts"
},
"repository": {
"type": "git",
"url": "git+https://github.com/aisuda/amis-tpl.git"
},
"keywords": [
"amis",
"tpl",
"parser",
"formula"
],
"author": "fex",
"license": "MIT",
"bugs": {
"url": "https://github.com/aisuda/amis-tpl/issues"
},
"homepage": "https://github.com/aisuda/amis-tpl#readme",
"dependencies": {
"lodash": "^4.17.15",
"moment": "^2.29.1",
"tslib": "^2.3.1"
},
"devDependencies": {
"@types/doctrine": "0.0.5",
"@types/jest": "^27.0.2",
"@types/lodash": "^4.14.175",
"doctrine": "^3.0.0",
"jest": "^27.2.1",
"jest-canvas-mock": "^2.3.0",
"mini-css-extract-plugin": "^2.4.5",
"moment-timezone": "^0.5.33",
"rimraf": "^3.0.2",
"rollup": "^2.60.2",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-json": "^4.0.0",
"rollup-plugin-license": "^2.6.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript": "^1.0.1",
"sass": "^1.36.0",
"sass-loader": "^12.1.0",
"style-loader": "^3.2.1",
"stylelint": "^13.0.0",
"ts-jest": "^27.0.5",
"ts-loader": "^9.2.3",
"ts-node": "^10.4.0",
"typescript": "^4.3.5"
},
"browserslist": "IE >= 11",
"jest": {
"testEnvironment": "jsdom",
"collectCoverageFrom": [
"src/**/*"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"transform": {
"\\.(ts|tsx)$": "ts-jest"
},
"setupFiles": [
"jest-canvas-mock"
],
"testRegex": "/.*\\.test\\.(ts|tsx|js)$",
"moduleNameMapper": {
"\\.(css|less|sass|scss)$": "<rootDir>/__mocks__/styleMock.js",
"\\.(svg)$": "<rootDir>/__mocks__/svgMock.js"
},
"setupFilesAfterEnv": [
"<rootDir>/__tests__/jest.setup.js"
],
"globals": {
"ts-jest": {
"diagnostics": false,
"tsconfig": {
"module": "commonjs",
"target": "es5",
"lib": [
"es6",
"dom",
"ES2015"
],
"sourceMap": true,
"jsx": "react",
"moduleResolution": "node",
"rootDir": ".",
"importHelpers": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"sourceRoot": ".",
"noImplicitReturns": true,
"noImplicitThis": true,
"noImplicitAny": true,
"strictNullChecks": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": false,
"typeRoots": [
"./node_modules/@types",
"./types"
],
"skipLibCheck": true
}
}
}
}
}