forked from geops/openlayers-editor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
121 lines (121 loc) · 3.96 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": "ole",
"license": "BSD-2-Clause",
"description": "OpenLayers Editor",
"version": "2.1.2",
"main": "build/index.js",
"peerDependencies": {
"jsts": "^2",
"ol": "^6"
},
"devDependencies": {
"@babel/core": "7.12.3",
"@babel/plugin-proposal-object-rest-spread": "7.12.1",
"@babel/plugin-transform-destructuring": "7.12.1",
"@babel/plugin-transform-object-assign": "7.12.1",
"@babel/preset-env": "7.12.1",
"@commitlint/cli": "17.0.2",
"@commitlint/config-conventional": "17.0.2",
"@constgen/neutrino-svg-loader": "1.9.2",
"@cypress/webpack-preprocessor": "5.4.11",
"@neutrinojs/image-loader": "9.4.0",
"@neutrinojs/library": "9.4.0",
"@neutrinojs/style-loader": "9.4.0",
"babel-core": "6.26.3",
"babel-eslint": "10.1.0",
"babel-loader": "8.2.1",
"cypress": "9.2.0",
"eslint": "7.13.0",
"eslint-config-airbnb-base": "14.2.1",
"eslint-config-prettier": "6.15.0",
"eslint-plugin-cypress": "2.11.2",
"eslint-plugin-import": "2.22.1",
"eslint-plugin-prettier": "3.1.4",
"fixpack": "3.0.6",
"husky": "8.0.1",
"jest": "26.6.3",
"jsdoc": "3.6.6",
"jsdoc-export-default-interop": "0.3.1",
"jsts": "2.6.1",
"lint-staged": "10.5.1",
"neutrino": "9.4.0",
"ol": "6.5.0",
"prettier": "2.1.2",
"standard-version": "9.5.0",
"start-server-and-test": "1.11.5",
"stylelint": "13.7.2",
"stylelint-config-standard": "20.0.0",
"webpack": "4.44.2",
"webpack-cli": "3.3.12",
"webpack-dev-server": "3.11.0"
},
"scripts": {
"build": "webpack --mode production ",
"cy:open": "cypress open",
"cy:run": "cypress run --headless",
"cy:test": "yarn build && start-server-and-test start http://localhost:8080 cy:run",
"doc": "jsdoc -p -r -c jsdoc_conf.json src -d doc README.md",
"format": "prettier --write 'cypress/integration/*.js' 'src/**/*.js' && eslint 'src/**/*.js' --fix && stylelint 'style/**/*.css' 'src/**/*.css' 'src/**/*.scss' --fix",
"lint": "eslint 'cypress/integration/**/*.js' 'src/**/*.js' && stylelint 'style/**/*.css' 'src/**/*.css' 'src/**/*.scss'",
"publish:beta": "yarn release -- --prerelease beta --skip.changelog && yarn build && git push origin HEAD && git push --tags && yarn publish --tag beta",
"publish:beta:dryrun": "yarn release -- --prerelease beta --dry-run --skip.changelog",
"publish:public": "yarn release && yarn build && git push origin HEAD && git push --tags && yarn publish",
"publish:public:dryrun": "yarn release --dry-run",
"release": "standard-version",
"start": "webpack-dev-server --mode development --open",
"test": "jest \"src/.*\\.test\\.js\" --passWithNoTests --env=jsdom --transformIgnorePatterns \"/node_modules/(?!(ol|ol-mapbox-style)/).*/\"",
"test:watch": "yarn test --watchAll"
},
"eslintConfig": {
"env": {
"cypress/globals": true,
"node": true,
"browser": true,
"es6": true,
"jest": true
},
"parser": "babel-eslint",
"extends": [
"airbnb-base",
"prettier"
],
"plugins": [
"cypress",
"prettier"
],
"rules": {
"prettier/prettier": [
"error",
{
"endOfLine": "auto"
}
]
}
},
"keywords": [
"Editor",
"OpenLayers"
],
"lint-staged": {
"(src|__mocks__)/**/*.js": [
"eslint --fix",
"prettier --write"
],
"package.json": [
"fixpack --sortToTop name --sortToTop license --sortToTop description --sortToTop version --sortToTop author --sortToTop main --sortToTop module --sortToTop files --sortToTop proxy --sortToTop dependencies --sortToTop peerDependencies --sortToTop devDependencies --sortToTop resolutions --sortToTop scripts"
],
"src/**/*.{css,scss}": [
"stylelint --fix"
]
},
"prettier": {
"trailingComma": "all",
"singleQuote": true
},
"repository": "github:geops/openlayers-editor",
"stylelint": {
"extends": [
"stylelint-config-standard"
]
}
}