package.json: cleanup scripts and dependencies
Updates version string from various dependencies
to fix at an exact version.
Refactors scripts to simplify future CI configuration.
For golang/go#43361
Trust: Jamal Carvalho
"scripts": {
"build": "tsc --project .",
"develop": "tsc --project . --watch",
- "lint": "run-s --continue-on-error \"lint-* -- {1}\" -- ",
- "lint-js": "eslint . --ext .ts",
- "lint-css": "stylelint **/*.css",
"license-check": "jsgl --local .",
- "test-typecheck": "tsc --noEmit",
- "test-unit": "jest --config devtools/config/jest.config.js --env=jsdom content",
- "test-e2e": "jest --config devtools/config/jest.config.js --env=node e2e",
- "test": "run-s test-*"
+ "lint": "run-s --continue-on-error \"lint:* -- {1}\" -- ",
+ "lint:css": "stylelint **/*.css",
+ "lint:ts": "eslint . --ext .ts",
+ "test": "run-s --continue-on-error lint:* test:*",
+ "test:typecheck": "tsc --noEmit",
+ "test:jest": "jest --config devtools/config/jest.config.js content",
+ "test:jest:e2e": "jest --config devtools/config/jest.config.js e2e",
+ "test-ci": "run-s --continue-on-error lint:* test:**"
},
"dependencies": {
"@types/jest": "26.0.16",
"jest-image-snapshot": "4.2.0",
"js-green-licenses": "2.0.1",
"npm-run-all": "4.1.5",
- "postcss": "^8.2.3",
+ "postcss": "8.2.3",
"prettier": "2.1.2",
"puppeteer": "5.5.0",
"stylelint": "13.8.0",
"stylelint-config-prettier": "8.0.2",
"stylelint-config-recommended": "3.0.0",
- "stylelint-config-standard": "^20.0.0",
- "stylelint-order": "^4.1.0",
+ "stylelint-config-standard": "20.0.0",
+ "stylelint-order": "4.1.0",
"stylelint-prettier": "1.1.2",
"ts-jest": "26.4.4",
"typescript": "4.0.3"
