forked from decidim/decidim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
74 lines (74 loc) · 2.18 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
{
"name": "a-decidim-app",
"description": "Note: this is not a package, just the dependencies for the project in the dev environment.",
"private": true,
"engines": {
"node": ">=18.17.1",
"npm": ">=9.6.7"
},
"files": [
"packages/**/*"
],
"browserslist": [
"extends @decidim/browserslist-config"
],
"prettier": "@decidim/prettier-config",
"scripts": {
"lint": "eslint -c .eslintrc.json --no-error-on-unmatched-pattern --ext .js,.jsx decidim-*",
"markdownlint": "markdownlint '**/*.md'",
"stylelint": "stylelint decidim-*/**/*.scss",
"prettier": "prettier --check 'decidim-*/**/*.scss'",
"prettify": "prettier --write 'decidim-*/**/*.scss'",
"linthtml": "linthtml decidim-*/**/*.html.erb decidim-*/cells/**/*.erb",
"test": "jest",
"test:watch": "npm run test -- --watch",
"test:ci": "npm run lint && npm run test"
},
"stylelint": {
"extends": "@decidim/stylelint-config"
},
"jest": {
"testEnvironment": "jsdom",
"testEnvironmentOptions": {
"url": "https://decidim.dev/"
},
"setupFiles": [
"<rootDir>/decidim-core/spec/js/entry_test.js",
"raf/polyfill"
],
"moduleFileExtensions": [
"js"
],
"moduleDirectories": [
"node_modules",
"decidim-core/app/packs"
],
"moduleNameMapper": {
"\\.(scss|css|less)$": "identity-obj-proxy"
},
"transform": {
"\\.yml$": "yaml-jest",
"\\.js$": "babel-jest"
},
"testRegex": "\\.(test|spec)\\.js$"
},
"dependencies": {
"@decidim/browserslist-config": "file:packages/browserslist-config",
"@decidim/core": "file:packages/core",
"@decidim/webpacker": "file:packages/webpacker"
},
"devDependencies": {
"@decidim/dev": "file:packages/dev",
"@decidim/eslint-config": "file:packages/eslint-config",
"@decidim/prettier-config": "file:packages/prettier-config",
"@decidim/stylelint-config": "file:packages/stylelint-config",
"babel-jest": "^29.7.0",
"concat-stream": "^2.0.0",
"enzyme": "^3.11.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-localstorage-mock": "^2.4.26",
"react-test-renderer": "^18.2.0",
"yaml-jest": "^1.2.0"
}
}