mirror of
https://github.com/konvajs/konva.git
synced 2026-01-23 21:34:50 +08:00
cmj build
This commit is contained in:
33
package.json
33
package.json
@@ -6,25 +6,26 @@
|
||||
"README.md",
|
||||
"konva.js",
|
||||
"konva.min.js",
|
||||
"lib"
|
||||
"lib",
|
||||
"cmj"
|
||||
],
|
||||
"type": "module",
|
||||
"main": "./lib/index-node.js",
|
||||
"browser": "./lib/index.js",
|
||||
"typings": "./lib/index-types.d.ts",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"start": "npm run test:watch",
|
||||
"compile": "npm run clean && npm run tsc && cp ./src/index-types.d.ts ./lib/index-types.d.ts && npm run rollup",
|
||||
"build": "npm run compile && cp ./src/index-types.d.ts ./lib && gulp build && node ./rename-imports.js",
|
||||
"test:import": "npm run build && node ./test/import-test.js",
|
||||
"compile": "npm run clean && npm run tsc && cp ./src/index-types.d.ts ./lib/index-types.d.ts && npm run rollup && cp ./package-cmj.json ./cmj/package.json && cp ./src/index-types.d.ts ./cmj/index-types.d.ts",
|
||||
"build": "npm run compile && cp ./src/index-types.d.ts ./lib && gulp build && node ./rename-imports.mjs",
|
||||
"test:import": "npm run build && node ./test/import-test.js &&node ./test/import-test.mjs",
|
||||
"test": "npm run test:browser && npm run test:node",
|
||||
"test:build": "parcel build ./test/unit-tests.html --dist-dir test-build --target none --public-url ./ --no-source-maps",
|
||||
"test:browser": "npm run test:build && mocha-headless-chrome -f ./test-build/unit-tests.html -a disable-web-security",
|
||||
"test:node": "env TS_NODE_PROJECT=\"./test/tsconfig.json\" mocha -r ts-node/register test/unit/**/*.ts --exit && npm run test:import",
|
||||
"test:watch": "rm -rf ./parcel-cache && parcel serve ./test/unit-tests.html ./test/manual-tests.html ./test/sandbox.html ./test/performance/bunnies.html",
|
||||
"tsc": "tsc --removeComments",
|
||||
"test:watch": "rm -rf ./parcel-cache && parcel serve ./test/unit-tests.html ./test/manual-tests.html",
|
||||
"tsc": "tsc && tsc --build ./tsconfig-cmj.json",
|
||||
"rollup": "rollup -c",
|
||||
"clean": "rm -rf ./lib && rm -rf ./types && rm -rf ./es && rm -rf ./test-build",
|
||||
"clean": "rm -rf ./lib && rm -rf ./types && rm -rf ./cmj && rm -rf ./test-build",
|
||||
"watch": "rollup -c -w",
|
||||
"size": "size-limit"
|
||||
},
|
||||
@@ -59,12 +60,12 @@
|
||||
}
|
||||
],
|
||||
"devDependencies": {
|
||||
"@parcel/transformer-image": "2.0.0-beta.2",
|
||||
"@size-limit/preset-big-lib": "^4.10.3",
|
||||
"@types/mocha": "^8.2.2",
|
||||
"@parcel/transformer-image": "^2.0.0-beta.2",
|
||||
"@size-limit/preset-big-lib": "^5.0.4",
|
||||
"@types/mocha": "^9.0.0",
|
||||
"canvas": "^2.8.0",
|
||||
"chai": "4.3.4",
|
||||
"filehound": "^1.17.4",
|
||||
"filehound": "^1.17.5",
|
||||
"gulp": "^4.0.2",
|
||||
"gulp-concat": "^2.6.1",
|
||||
"gulp-connect": "^5.7.0",
|
||||
@@ -74,20 +75,20 @@
|
||||
"gulp-replace": "^1.1.3",
|
||||
"gulp-typescript": "^5.0.1",
|
||||
"gulp-uglify": "^3.0.2",
|
||||
"gulp-uglify-es": "^2.0.0",
|
||||
"gulp-uglify-es": "^3.0.0",
|
||||
"gulp-util": "^3.0.8",
|
||||
"mocha": "8.4.0",
|
||||
"mocha-headless-chrome": "^3.1.0",
|
||||
"parcel": "^2.0.0-beta.2",
|
||||
"rollup": "^2.48.0",
|
||||
"rollup": "^2.57.0",
|
||||
"rollup-plugin-commonjs": "^10.1.0",
|
||||
"rollup-plugin-node-resolve": "^5.2.0",
|
||||
"rollup-plugin-sourcemaps": "^0.6.3",
|
||||
"rollup-plugin-typescript2": "^0.30.0",
|
||||
"size-limit": "^4.10.3",
|
||||
"size-limit": "^5.0.4",
|
||||
"ts-mocha": "^8.0.0",
|
||||
"ts-node": "^9.1.1",
|
||||
"typescript": "^4.2.4"
|
||||
"typescript": "^4.4.3"
|
||||
},
|
||||
"keywords": [
|
||||
"canvas",
|
||||
|
||||
Reference in New Issue
Block a user