-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
94 lines (94 loc) · 2.48 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
{
"name": "elevation-scale",
"version": "1.2.1",
"description": "Create an elevation system",
"main": "dist/plugin.js",
"repository": {
"type": "git",
"url": "https://github.com/lukasoppermann/elevation-scale.git"
},
"scripts": {
"start": "npm run test && npm run build-watch",
"build": "tsc-bundle tsconfig.json",
"build-watch": "npm run build -- --watch",
"test": "npm run lint ; npm run test:unit",
"test:unit": "jest tests/unit",
"lint": "standardx src/**/*.ts src/*.ts | snazzy",
"set-version": "replace-in-files --regex='\\d+\\.\\d+\\.\\d+' --replacement=$npm_package_version src/utilities/version.ts",
"version": "npm run set-version && npm run build && git add --all"
},
"author": "Lukas Oppermann <[email protected]> (https://vea.re)",
"license": "MIT",
"devDependencies": {
"@figma/plugin-typings": "^1.19.0",
"@typescript-eslint/eslint-plugin": "^4.14.2",
"@typescript-eslint/parser": "^4.14.2",
"css-loader": "^5.0.2",
"eslint-plugin-typescript": "^0.14.0",
"figma-plugin-ds": "^0.1.8",
"html-webpack-inline-source-plugin": "0.0.10",
"html-webpack-plugin": "^3.2.0",
"jest": "^26.6.3",
"jest-preset-typescript": "^1.2.0",
"replace-in-files-cli": "^1.0.0",
"snazzy": "^9.0.0",
"standardx": "^7.0.0",
"style-loader": "^2.0.0",
"ts-jest": "^26.5.0",
"ts-loader": "^8.0.17",
"typescript": "^4.1.5",
"typescript-bundle": "^1.0.17",
"url-loader": "^4.1.1",
"webpack": "^4.38.0",
"webpack-cli": "^3.3.6"
},
"standardx": {
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"global": [
"__html__",
"figma",
"SceneNode",
"FrameNode",
"PluginAPI",
"BlendMode",
"onmessage",
"parent",
"NodeListOf"
]
},
"eslintConfig": {
"rules": {
"default-param-last": 0,
"no-return-assign": 0,
"brace-style": 0
}
},
"jest": {
"moduleDirectories": [
"node_modules",
"src"
],
"verbose": true,
"testTimeout": 15000,
"collectCoverage": true,
"coverageDirectory": "./tests/unit/coverage",
"testEnvironment": "node",
"collectCoverageFrom": [
"./src/**/*.ts"
],
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"moduleFileExtensions": [
"ts",
"js"
],
"testMatch": [
"**/tests/integration/!(skip.)*.test.[jt]s?(x)",
"**/tests/unit/!(skip.)*.test.[jt]s?(x)"
]
}
}